toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (auditIntervalSeconds != null)
        'auditIntervalSeconds': auditIntervalSeconds!,
      if (enabled != null) 'enabled': enabled!,
      if (exemptableNamespaces != null)
        'exemptableNamespaces': exemptableNamespaces!,
      if (logDeniesEnabled != null) 'logDeniesEnabled': logDeniesEnabled!,
      if (monitoring != null) 'monitoring': monitoring!,
      if (mutationEnabled != null) 'mutationEnabled': mutationEnabled!,
      if (referentialRulesEnabled != null)
        'referentialRulesEnabled': referentialRulesEnabled!,
      if (templateLibraryInstalled != null)
        'templateLibraryInstalled': templateLibraryInstalled!,
      if (updateTime != null) 'updateTime': updateTime!,
    };