decode static method

PlaybackSpeedMessage decode(
  1. Object message
)

Implementation

static PlaybackSpeedMessage decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return PlaybackSpeedMessage()
    ..textureId = pigeonMap['textureId'] as int?
    ..speed = pigeonMap['speed'] as double?;
}