DataSource<T, ARG> class abstract

Implementers
Available extensions

Constructors

DataSource({required String dataKey, required FakerXLocale locale, required List<T> values, required Function? builder})
const

Properties

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

Methods

build(dynamic args) → dynamic
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