toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'clazz': clazz,
'parentKey': parentKey,
'string': string,
'parentIndex': parentIndex,
'sourceCodeLocation': sourceCodeLocation?.toJson(),
'parentField': parentField,
'libraries': libraries,
'important': important,
'leakedNodeType': leakedNodeType.index,
'closureInfo': closureInfo?.toJson(),
};
}