encode method

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['identity'] = identity;
  pigeonMap['attributes'] = attributes == null ? null : attributes!.encode();
  pigeonMap['friendlyName'] = friendlyName;
  pigeonMap['isNotifiable'] = isNotifiable;
  pigeonMap['isOnline'] = isOnline;
  pigeonMap['isSubscribed'] = isSubscribed;
  return pigeonMap;
}