DataSelectorType class sealed

Defines the strategy for selecting a fixture from a collection

This sealed class provides different strategies for selecting a fixture:

  • Pick: Let the user pick the fixture through a UI
  • Default: Use the fixture marked as default
  • Random: Select a random fixture

Constructors

DataSelectorType.defaultValue()
Create a selector that uses the default fixture
factory
DataSelectorType.pick()
Create a selector that lets the user pick the fixture
factory
DataSelectorType.random()
Create a selector that picks a random fixture
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited