toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blocked != null) 'blocked': blocked!,
      if (category != null) 'category': category!,
      if (probability != null) 'probability': probability!,
      if (probabilityScore != null) 'probabilityScore': probabilityScore!,
      if (severity != null) 'severity': severity!,
      if (severityScore != null) 'severityScore': severityScore!,
    };