toMap method
Implementation
@override
Map<String, Object?> toMap() {
return {
if (task != null) 'task': task!.toMap(),
if ($meta != null) '_meta': $meta!.toMap(),
'node': node,
'message': message,
'elicitationId': elicitationId,
'url': url,
};
}