encode method

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['textureId'] = textureId;
  pigeonMap['speed'] = speed;
  return pigeonMap;
}