This is a table containing every aliases on chance_dart :

They can all be accessed via the ChaneAlias enum.

This is an enum usage example:

@ChanceField(
    alias: ChanceAlias.boolean
);

The args variable is a List of possible arguments that can be passed in while generating random in order to streamline and customize results of the generator.

S/NAliasargsReturn Type
1booleanbool
2characterbool alpha(optional), String pool(optional), bool numeric(optional), Casing casing(optional), bool symbols(optional),String
3falsySet<dynamic> pool(optional)dynamic
4floatingint fixed(optional), num min(optional), num max(optional)double
5integernum max(optional)int
6letterCasing casing(optional)String
7naturalnum max(optional)int
8primenum max(optional)int
9stringint length(optional), bool alpha(optional), String pool(optional), bool numeric(optional), Casing casing(optional), bool symbols(optional)String
10templateString temp(required)String
11ccTypeCCType
12ccCCType ccType(optional), int visaLength(optional),String
13cediint fixed(optional), num min(optional), num max(optional)String
14currencyPairList<Currency>
15currencyString currencyKeyToRemove(optional)Currency
16dollarint fixed(optional), num min(optional), num max(optional)String
17euroint fixed(optional), num min(optional), num max(optional)String
18expMonthbool future(optional)String
19expYearString
20expString
21nairaint fixed(optional), num min(optional), num max(optional)String
22addressAddress
23altitudeString
24areaCodeString
25cityString
26coordinatesCoordinate
27countryCountry
28depthString
29geohashString
30latitudedouble
31localeString
32longitudedouble
33phoneString temp(optional)String
34postalString
35postCodeString
36provinceString
37stateString
38streetString
39zipString
40ageint max(optional)int
41birthdayString
42firstNameString
43genderString
44lastNameString
45personTitleString
46ssnString
47fullNameString
48paragraphint sentences(optional), bool lineBreak(optional)String
49sentenceString
50syllableString
51animalString
52amPmString
53dateString
54hourint
55millisecondint
56minuteint
57monthString
58secondint
59timestampString
60timezoneString
61weekdayString
62yearint max(optional), int min(optional)String