NIKModel class

NIKModel to store converting result

Constructors

NIKModel({String? nik, String? gender, String? bornDate, String? province, String? city, String? subdistrict, String? uniqueCode, String? postalCode, String? age, String? zodiac, bool? valid, int? ageYear, int? ageMonth, int? ageDay, String? nextBirthday})
NIKModel.empty()
Output when the nik number is not valid
factory

Properties

age String?
Age with output year, month and date
getter/setter pair
ageDay int?
Age in day
getter/setter pair
ageMonth int?
Age in month
getter/setter pair
ageYear int?
Age in year
getter/setter pair
bornDate String?
birthday date
getter/setter pair
city String?
City where live
getter/setter pair
gender String?
Gender type
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nextBirthday String?
Next birthday counters count from now
getter/setter pair
nik String?
Nik number
getter/setter pair
postalCode String?
Postal code of the subdistrict
getter/setter pair
province String?
Province of country
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subdistrict String?
Subdistrict where live
getter/setter pair
uniqueCode String?
Unique code from the last digit number in nik
getter/setter pair
valid bool?
Check the nik number is valid or not
getter/setter pair
zodiac String?
Zodiac by born date
getter/setter pair

Methods

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