toJson method

Map toJson()

Implementation

Map toJson() {
  Map data = Map();
  data['type'] = _type;
  data['value'] = _value;
  return data;
}