toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'title': title,
    'content': content,
    'email': email,
    'phone1': phone1,
    'phone1Caption': phone1Caption,
    'phone2': phone2,
    'phone2Caption': phone2Caption,
  };
}