toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contactGroupMembership != null)
        'contactGroupMembership': contactGroupMembership!,
      if (domainMembership != null) 'domainMembership': domainMembership!,
      if (metadata != null) 'metadata': metadata!,
    };