PhoneNumbers.fromJson constructor

PhoneNumbers.fromJson(
  1. Map json_
)

Implementation

PhoneNumbers.fromJson(core.Map json_)
    : this(
        additionalPhones: json_.containsKey('additionalPhones')
            ? (json_['additionalPhones'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        primaryPhone: json_.containsKey('primaryPhone')
            ? json_['primaryPhone'] as core.String
            : null,
      );