toJson method

Map toJson ()
override

Implementation

Map toJson() {
  var json = super.toJson();
  json['type'] = getStringFromEnum(JMMessageType.text);
  json['text'] = text;
  return json;
}