TypeDataSource<T, ARG> class

Inheritance
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

builder Function?
finalinherited
dataKey String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
locale FakerXLocale
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
finalinherited

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