CastMediaVolume class

Constructors

CastMediaVolume(num? level, bool? muted)
CastMediaVolume.fromJson(String source)
factory
CastMediaVolume.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
level num?
optional Current stream volume level as a value between 0.0 and 1.0 where 1.0 is the maximum volume.
getter/setter pair
muted bool?
optional Whether the Cast device is muted , independent of the volume level
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited