encode method

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['classIndex'] = classIndex;
  pigeonMap['className'] = className;
  pigeonMap['score'] = score;
  pigeonMap['rect'] = rect.encode();
  return pigeonMap;
}