displayName method
Overrides the display name of the current step.
Implementation
Future<void> displayName(String name) {
return _currentTestRuntime.send(
RuntimeMessage(
type: 'step_metadata',
data: <String, Object?>{'name': name},
),
);
}