toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deprecatedInFavorOf != null)
        'deprecatedInFavorOf': deprecatedInFavorOf!,
      if (description != null) 'description': description!,
      if (endSupport != null) 'endSupport': endSupport!,
      if (policyApiLifecycleStage != null)
        'policyApiLifecycleStage': policyApiLifecycleStage!,
      if (scheduledToDeprecatePolicies != null)
        'scheduledToDeprecatePolicies': scheduledToDeprecatePolicies!,
    };