diff --git a/lib/mixer_state.dart b/lib/mixer_state.dart index a2d3274..3051836 100644 --- a/lib/mixer_state.dart +++ b/lib/mixer_state.dart @@ -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 toJson() => {