DateResponse class
Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999.
Constructors
-
DateResponse({required Input<
int> day, required Input<int> month, required Input<int> year}) -
Creates a new DateResponse.
dayDay of month. Must be from 1 to 31 and valid for the year and month.monthMonth of date. Must be from 1 to 12.yearYear of date. Must be from 1 to 9999.const -
DateResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
day
→ Input<
int> -
Day of month. Must be from 1 to 31 and valid for the year and month.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
month
→ Input<
int> -
Month of date. Must be from 1 to 12.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
year
→ Input<
int> -
Year of date. Must be from 1 to 9999.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited