toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final detectorId = this.detectorId;
  final displayName = this.displayName;
  final explanation = this.explanation;
  final recommendation = this.recommendation;
  final severity = this.severity;
  return {
    'detectorId': ?detectorId,
    'displayName': ?displayName,
    'explanation': ?explanation,
    'recommendation': ?recommendation,
    'severity': ?severity,
  };
}