decode static method

TextureMessage decode(
  1. Object message
)

Implementation

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