encode method

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['namespace'] = namespace;
  pigeonMap['message'] = message;
  return pigeonMap;
}