encode method

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['path'] = path;
  pigeonMap['type'] = type.index;
  return pigeonMap;
}