attach method

void attach(
  1. String data,
  2. String mimeType, [
  3. String? context
])
inherited

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