StringDataSource<ARG> class
- Inheritance
-
- Object
- DataSource<
String, ARG> - StringDataSource
Constructors
-
StringDataSource({required String dataKey, required FakerXLocale locale, required List<
String> values, List<Format> formats = const []}) -
const
- StringDataSource.withBuilder({required String dataKey, required FakerXLocale locale, required Function builder})
Properties
- builder → Function?
-
finalinherited
- dataKey → String
-
finalinherited
-
formats
→ List<
Format> -
final
- 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<
String> -
finalinherited
Methods
-
build(
dynamic args) → StringOrFormat -
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