Membership.fromJson constructor

Membership.fromJson(
  1. Map json_
)

Implementation

Membership.fromJson(core.Map json_)
    : this(
        contactGroupMembership: json_.containsKey('contactGroupMembership')
            ? ContactGroupMembership.fromJson(json_['contactGroupMembership']
                as core.Map<core.String, core.dynamic>)
            : null,
        domainMembership: json_.containsKey('domainMembership')
            ? DomainMembership.fromJson(json_['domainMembership']
                as core.Map<core.String, core.dynamic>)
            : null,
        metadata: json_.containsKey('metadata')
            ? FieldMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
      );