toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final contacts = this.contacts;
  final supportPage = this.supportPage;
  return {
    if (contacts != null)
      'contacts': contacts.map((v) => v.toJson()).toList(),
    if (supportPage != null) 'support_page': supportPage,
  };
}