decode static method
Implementation
static PositionMessage decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return PositionMessage()
..textureId = pigeonMap['textureId'] as int?
..position = pigeonMap['position'] as int?;
}