ContactInfoList.fromJson constructor

ContactInfoList.fromJson(
  1. Map json_
)

Implementation

ContactInfoList.fromJson(core.Map json_)
    : this(
        consent: json_.containsKey('consent')
            ? Consent.fromJson(
                json_['consent'] as core.Map<core.String, core.dynamic>)
            : null,
        contactInfos: json_.containsKey('contactInfos')
            ? (json_['contactInfos'] as core.List)
                .map((value) => ContactInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );