toJson method
Implementation
Map<String, dynamic> toJson() {
final args = this.args;
final id = this.id;
final nodeType = this.nodeType;
final lineNumber = this.lineNumber;
return {
'Args': args,
'Id': id,
'NodeType': nodeType,
if (lineNumber != null) 'LineNumber': lineNumber,
};
}