copyWith method
AndroidPlaybackInfo
copyWith({
- AndroidVolumeControlType? volumeControlType,
- int? maxVolume,
- int? volume,
Creates a copy of this object with fields replaced.
Implementation
AndroidPlaybackInfo copyWith({
AndroidVolumeControlType? volumeControlType,
int? maxVolume,
int? volume,
}) =>
RemoteAndroidPlaybackInfo(
volumeControlType: volumeControlType ?? this.volumeControlType,
maxVolume: maxVolume ?? this.maxVolume,
volume: volume ?? this.volume,
);