encode method

Object encode()

Implementation

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