decode static method

CameraRotationMessage decode(
  1. Object message
)

Implementation

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