TypeDataSource<T, ARG> class
- Inheritance
-
- Object
- DataSource<
T, ARG> - TypeDataSource
- Available extensions
Constructors
-
TypeDataSource({required String dataKey, required FakerXLocale locale, required List<
T> values}) -
const
- TypeDataSource.withBuilder({required String dataKey, required FakerXLocale locale, required Function builder})
Properties
Methods
-
build(
dynamic args) → T -
override
-
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