🐛 Fix balance value not being of type double
This commit is contained in:
@ -83,7 +83,7 @@ class State {
|
||||
String? toUuid;
|
||||
bool mute;
|
||||
double volume;
|
||||
int balance;
|
||||
double balance;
|
||||
|
||||
State({
|
||||
this.toUuid,
|
||||
@ -96,7 +96,7 @@ class State {
|
||||
toUuid: json["toUUID"],
|
||||
mute: json["mute"],
|
||||
volume: json["volume"]?.toDouble(),
|
||||
balance: json["balance"],
|
||||
balance: json["balance"]?.toDouble(),
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
|
Reference in New Issue
Block a user