toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessRestrictions != null)
        'accessRestrictions': accessRestrictions!,
      if (additionalTargetKeyNames != null)
        'additionalTargetKeyNames': additionalTargetKeyNames!,
      if (categoryTitle != null) 'categoryTitle': categoryTitle!,
      if (definition != null) 'definition': definition!,
      if (fieldDescriptions != null) 'fieldDescriptions': fieldDescriptions!,
      if (name != null) 'name': name!,
      if (notices != null) 'notices': notices!,
      if (policyApiLifecycle != null)
        'policyApiLifecycle': policyApiLifecycle!,
      if (policyDescription != null) 'policyDescription': policyDescription!,
      if (schemaName != null) 'schemaName': schemaName!,
      if (supportUri != null) 'supportUri': supportUri!,
      if (supportedPlatforms != null)
        'supportedPlatforms': supportedPlatforms!,
      if (validTargetResources != null)
        'validTargetResources': validTargetResources!,
    };