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
-
copyWith(
{String? dataKey, FakerXLocale? locale, List< Format> ? formats, List<String> ? values, Function? builder}) → DataSource -
Available on DataSource, provided by the BaseDataSourceExt extension
-
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