getAvailableTestStep method

AvailableTestStep? getAvailableTestStep(
  1. String id
)

Returns the test step that matches the given id. This will first look in the registered custom steps and then if no custom step with the given id exists, this will look in the built in steps. If no step for the given id can be found, this will return null.

Implementation

AvailableTestStep? getAvailableTestStep(String id) =>
    _customSteps[id]?.availableTestStep ??
    _builtInSteps[id]?.availableTestStep;