Return a JSON encoding of this object.
@override Map<String, dynamic> toJson() => _$BatteryStateToJson(this);