toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customOutput != null) 'customOutput': customOutput!,
      if (description != null) 'description': description!,
      if (predicate != null) 'predicate': predicate!,
      if (recommendation != null) 'recommendation': recommendation!,
      if (resourceSelector != null) 'resourceSelector': resourceSelector!,
      if (severity != null) 'severity': severity!,
    };