RelationLabel enum
Relationship label types.
| Label | Android | iOS |
|---|---|---|
| assistant | ✔ | ✔ |
| aunt | ⨯ | ✔ |
| boyfriend | ⨯ | ✔ |
| brother | ✔ | ✔ |
| brotherInLaw | ⨯ | ✔ |
| child | ✔ | ✔ |
| childInLaw | ⨯ | ✔ |
| colleague | ⨯ | ✔ |
| cousin | ⨯ | ✔ |
| daughter | ⨯ | ✔ |
| domesticPartner | ✔ | ⨯ |
| father | ✔ | ✔ |
| fatherInLaw | ⨯ | ✔ |
| friend | ✔ | ✔ |
| girlfriend | ⨯ | ✔ |
| grandchild | ⨯ | ✔ |
| granddaughter | ⨯ | ✔ |
| grandfather | ⨯ | ✔ |
| grandmother | ⨯ | ✔ |
| grandparent | ⨯ | ✔ |
| grandson | ⨯ | ✔ |
| husband | ⨯ | ✔ |
| manager | ✔ | ✔ |
| mother | ✔ | ✔ |
| motherInLaw | ⨯ | ✔ |
| nephew | ⨯ | ✔ |
| niece | ⨯ | ✔ |
| parent | ✔ | ✔ |
| parentInLaw | ⨯ | ✔ |
| partner | ✔ | ✔ |
| referredBy | ✔ | ⨯ |
| relative | ✔ | ⨯ |
| sibling | ⨯ | ✔ |
| siblingInLaw | ⨯ | ✔ |
| sister | ✔ | ✔ |
| sisterInLaw | ⨯ | ✔ |
| son | ⨯ | ✔ |
| spouse | ✔ | ✔ |
| stepbrother | ⨯ | ✔ |
| stepchild | ⨯ | ✔ |
| stepdaughter | ⨯ | ✔ |
| stepfather | ⨯ | ✔ |
| stepmother | ⨯ | ✔ |
| stepparent | ⨯ | ✔ |
| stepsister | ⨯ | ✔ |
| stepson | ⨯ | ✔ |
| teacher | ⨯ | ✔ |
| uncle | ⨯ | ✔ |
| wife | ⨯ | ✔ |
| other | ✔ | ✔ |
| custom | ✔ | ✔ |
iOS defines many more relationship labels. Unsupported labels are automatically mapped to RelationLabel.custom with the original string preserved.
Values
- assistant → const RelationLabel
- aunt → const RelationLabel
- boyfriend → const RelationLabel
- brother → const RelationLabel
- brotherInLaw → const RelationLabel
- child → const RelationLabel
- childInLaw → const RelationLabel
- colleague → const RelationLabel
- cousin → const RelationLabel
- daughter → const RelationLabel
- domesticPartner → const RelationLabel
- father → const RelationLabel
- fatherInLaw → const RelationLabel
- friend → const RelationLabel
- girlfriend → const RelationLabel
- grandchild → const RelationLabel
- granddaughter → const RelationLabel
- grandfather → const RelationLabel
- grandmother → const RelationLabel
- grandparent → const RelationLabel
- grandson → const RelationLabel
- husband → const RelationLabel
- manager → const RelationLabel
- mother → const RelationLabel
- motherInLaw → const RelationLabel
- nephew → const RelationLabel
- niece → const RelationLabel
- parent → const RelationLabel
- parentInLaw → const RelationLabel
- partner → const RelationLabel
- referredBy → const RelationLabel
- relative → const RelationLabel
- sibling → const RelationLabel
- siblingInLaw → const RelationLabel
- sister → const RelationLabel
- sisterInLaw → const RelationLabel
- son → const RelationLabel
- spouse → const RelationLabel
- stepbrother → const RelationLabel
- stepchild → const RelationLabel
- stepdaughter → const RelationLabel
- stepfather → const RelationLabel
- stepmother → const RelationLabel
- stepparent → const RelationLabel
- stepsister → const RelationLabel
- stepson → const RelationLabel
- teacher → const RelationLabel
- uncle → const RelationLabel
- wife → const RelationLabel
- other → const RelationLabel
- custom → const RelationLabel
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isSupported → bool
-
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
RelationLabel> - A constant List of the values in this enum, in order of their declaration.