toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'topic': topic,
    'noecho': noecho,
    'head': head,
    'content': content,
    'seq': seq,
    'from': from,
    'ts': ts,
  };
}