GoogleCloudEssentialcontactsV1Contact.fromJson constructor

GoogleCloudEssentialcontactsV1Contact.fromJson(
  1. Map json_
)

Implementation

GoogleCloudEssentialcontactsV1Contact.fromJson(core.Map json_)
    : this(
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        languageTag: json_.containsKey('languageTag')
            ? json_['languageTag'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        notificationCategorySubscriptions:
            json_.containsKey('notificationCategorySubscriptions')
                ? (json_['notificationCategorySubscriptions'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        validateTime: json_.containsKey('validateTime')
            ? json_['validateTime'] as core.String
            : null,
        validationState: json_.containsKey('validationState')
            ? json_['validationState'] as core.String
            : null,
      );