VolumeState.fromMap constructor
Creates a VolumeState from a map, typically received from platform code.
Implementation
factory VolumeState.fromMap(Map<String, dynamic> map) {
return VolumeState(level: map['level']);
}
Creates a VolumeState from a map, typically received from platform code.
factory VolumeState.fromMap(Map<String, dynamic> map) {
return VolumeState(level: map['level']);
}