PartnerClaim.fromJson constructor

PartnerClaim.fromJson(
  1. Map json_
)

Implementation

PartnerClaim.fromJson(core.Map json_)
    : this(
        configurationId: json_.containsKey('configurationId')
            ? json_['configurationId'] as core.String
            : null,
        customerId: json_.containsKey('customerId')
            ? json_['customerId'] as core.String
            : null,
        deviceIdentifier: json_.containsKey('deviceIdentifier')
            ? DeviceIdentifier.fromJson(json_['deviceIdentifier']
                as core.Map<core.String, core.dynamic>)
            : null,
        deviceMetadata: json_.containsKey('deviceMetadata')
            ? DeviceMetadata.fromJson(json_['deviceMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        googleWorkspaceCustomerId:
            json_.containsKey('googleWorkspaceCustomerId')
                ? json_['googleWorkspaceCustomerId'] as core.String
                : null,
        preProvisioningToken: json_.containsKey('preProvisioningToken')
            ? json_['preProvisioningToken'] as core.String
            : null,
        sectionType: json_.containsKey('sectionType')
            ? json_['sectionType'] as core.String
            : null,
        simlockProfileId: json_.containsKey('simlockProfileId')
            ? json_['simlockProfileId'] as core.String
            : null,
      );