toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> data = {};
  if (camid != null) {
    data["camid"] = camid;
  }
  if (text != null) {
    data["text"] = text;
  }
  return data;
}