decode static method
Implementation
static VolumeMessage decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return VolumeMessage(
textureId: pigeonMap['textureId'] as int?,
volume: pigeonMap['volume'] as double?,
);
}