toJson method
Converts a TypeChecking instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempExpressionWarnings = expressionWarnings;
if (tempExpressionWarnings != null) {
jsonData['expressionWarnings'] =
tempExpressionWarnings.map((e) => e.toJson()).toList(growable: false);
}
return jsonData;
}