toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final remap = <String, dynamic>{};
  remap["time"] = time;
  remap["content"] = content;
  return remap;
}