FFProjectTest constructor

FFProjectTest({
  1. FFIdentifier? identifier,
  2. String? description,
  3. bool? disabled,
  4. Iterable<FFGivenTestStep>? given,
  5. Iterable<FFTestStep>? steps,
  6. String? name,
})

Implementation

factory FFProjectTest({
  FFIdentifier? identifier,
  $core.String? description,
  $core.bool? disabled,
  $core.Iterable<FFGivenTestStep>? given,
  $core.Iterable<FFTestStep>? steps,
  $core.String? name,
}) {
  final result = create();
  if (identifier != null) result.identifier = identifier;
  if (description != null) result.description = description;
  if (disabled != null) result.disabled = disabled;
  if (given != null) result.given.addAll(given);
  if (steps != null) result.steps.addAll(steps);
  if (name != null) result.name = name;
  return result;
}