encode method

Object encode()

Implementation

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