decode static method

LoopingMessage decode(
  1. Object message
)

Implementation

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