toMap method

Map<String, dynamic> toMap()

Converts the CastMediaVolume to a map.

Returns a Map representation of this object.

Implementation

Map<String, dynamic> toMap() {
  return {
    'level': level,
    'muted': muted,
  };
}