toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'topic': topic,
    'set': set,
    'get': get?.toMap(),
  };
}