Gender class
A person's gender.
Constructors
- Gender({String? addressMeAs, String? formattedValue, FieldMetadata? metadata, String? value})
- Gender.fromJson(Map json_)
Properties
- addressMeAs ↔ String?
-
Free form text field for pronouns that should be used to address the
person.
getter/setter pair
- formattedValue ↔ String?
-
The value of the gender translated and formatted in the viewer's account
locale or the
Accept-Language
HTTP header locale.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ FieldMetadata?
-
Metadata about the gender.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String?
-
The gender for the person.
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