toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'foundNode': foundNode,
'eventType': eventType,
'handlerSource': handlerSource,
'handlerSourceNode': handlerSourceNode,
'handlerParameters': handlerParameters,
'handlerBody': handlerBody,
'isAsync': isAsync,
'isGenerator': isGenerator,
'handlerReturnType': handlerReturnType,
};
}