Partner.fromJson constructor

Partner.fromJson(
  1. Map json_
)

Implementation

Partner.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        ekmSolutions: json_.containsKey('ekmSolutions')
            ? (json_['ekmSolutions'] as core.List)
                .map((value) => EkmMetadata.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        operatedCloudRegions: json_.containsKey('operatedCloudRegions')
            ? (json_['operatedCloudRegions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        partnerProjectId: json_.containsKey('partnerProjectId')
            ? json_['partnerProjectId'] as core.String
            : null,
        skus: json_.containsKey('skus')
            ? (json_['skus'] as core.List)
                .map((value) => Sku.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );