setVolume method
Sets the volume to a range between 0.0 and 1.0.
Implementation
@override
Future<void> setVolume(int? textureId, double volume) {
return _channel.invokeMethod<void>(
'setVolume',
<String, dynamic>{
'textureId': textureId,
'volume': volume,
},
);
}