toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = {};
  data['id'] = id;
  data['name'] = name;
  data['call_code'] = callCode;
  data['cncode'] = cncode;
  data['created_at'] = createdAt;
  data['updated_at'] = updatedAt;
  data['text'] = text;
  return data;
}