attach method
Attach data to the given context which can be a step name
or if blank it will be attached to the scenario
mimeType one of 'text/plain', 'text/html', 'application/json', 'image/png'
Implementation
void attach(
String data,
String mimeType, [
String? context,
]) {
_attachmentManager.attach(data, mimeType, context);
}