toJson method
Implementation
Map<String, dynamic> toJson() => {
'file': filePath,
'startLine': startLine,
'endLine': endLine,
'enclosing': enclosingDeclaration,
'isCleanlyExtractable': isCleanlyExtractable,
'inputs': inputs.map((e) => e.toJson()).toList(),
'mutations': mutations.map((e) => e.toJson()).toList(),
'outputs': outputs.map((e) => e.toJson()).toList(),
'escapes': escapes.map((e) => e.toJson()).toList(),
'suggestedSignature': suggestedSignature,
};