Birthday class

A person's birthday.

At least one of the date and text fields are specified. The date and text fields typically represent the same date, but are not guaranteed to. Clients should always set the date field when mutating birthdays.

Constructors

Birthday({Date? date, FieldMetadata? metadata, String? text})
Birthday.fromJson(Map json_)

Properties

date Date?
The structured date of the birthday.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata FieldMetadata?
Metadata about the birthday.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Prefer to use the date field if set.
getter/setter pair

Methods

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

Operators

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