toJson method

Map<String, dynamic> toJson()

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,
  };
}