toWire method
Renders the wire shape the results batch expects.
Implementation
Map<String, Object?> toWire() => <String, Object?>{
'id': id,
'parentId': parentId,
'result': result,
'action': action,
'expectation': expectation,
'attachments': attachments,
'errorMessage': errorMessage,
'comment': comment,
};