Birthdate class

Represents a user's birthdate.

Constructors

Birthdate({required int day, required int month, int? year})
Creates a Birthdate object.
const
Birthdate.fromJson(Map<String, dynamic> json)
Creates a Birthdate object from a JSON map.
factory

Properties

day int
Day of the user's birth; 1-31.
final
hashCode int
The hash code for this object.
no setterinherited
month int
Month of the user's birth; 1-12.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int?
Optional. Year of the user's birth.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited