GoogleChromePolicyVersionsV1PolicyApiLifecycle.fromJson constructor

GoogleChromePolicyVersionsV1PolicyApiLifecycle.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1PolicyApiLifecycle.fromJson(core.Map json_)
    : this(
        deprecatedInFavorOf: json_.containsKey('deprecatedInFavorOf')
            ? (json_['deprecatedInFavorOf'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        endSupport: json_.containsKey('endSupport')
            ? GoogleTypeDate.fromJson(
                json_['endSupport'] as core.Map<core.String, core.dynamic>)
            : null,
        policyApiLifecycleStage: json_.containsKey('policyApiLifecycleStage')
            ? json_['policyApiLifecycleStage'] as core.String
            : null,
        scheduledToDeprecatePolicies:
            json_.containsKey('scheduledToDeprecatePolicies')
                ? (json_['scheduledToDeprecatePolicies'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );