GoogleChromePolicyVersionsV1PolicyApiLifecycle.fromJson constructor

GoogleChromePolicyVersionsV1PolicyApiLifecycle.fromJson(
  1. Map json_
)

Implementation

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