GetWellknownSupportResponse.fromJson constructor

GetWellknownSupportResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

GetWellknownSupportResponse.fromJson(Map<String, Object?> json)
    : contacts = ((v) => v != null
          ? (v as List)
              .map((v) => Contact.fromJson(v as Map<String, Object?>))
              .toList()
          : null)(json['contacts']),
      supportPage =
          ((v) => v != null ? v as String : null)(json['support_page']);