MaritalStatus enum

The domestic partnership status of a person.

Inheritance
Implemented types
Available extensions

Values

neverMarried → const MaritalStatus

Never Married

const MaritalStatus(code: 'NM', display: 'Never Married', definition: 'The person has never been married.', system: maritalStatusUri)
widowed → const MaritalStatus

Widowed

const MaritalStatus(code: 'W', display: 'Widowed', definition: "The person's spouse has died.", system: maritalStatusUri)
divorced → const MaritalStatus

Divorced

const MaritalStatus(code: 'D', display: 'Divorced', definition: 'The person is divorced.', system: maritalStatusUri)
separated → const MaritalStatus

Separated

const MaritalStatus(code: 'S', display: 'Separated', definition: 'The person is legally separated from a spouse.', system: maritalStatusUri)
interlocutory → const MaritalStatus

Interlocutory

const MaritalStatus(code: 'I', display: 'Interlocutory', definition: 'The person has filed for a legal separation or divorce.', system: maritalStatusUri)
legallyMarried → const MaritalStatus

Legally Married

const MaritalStatus(code: 'L', display: 'Legally Married', definition: 'The person is legally married.', system: maritalStatusUri)
polygamous → const MaritalStatus

Polygamous

const MaritalStatus(code: 'P', display: 'Polygamous', definition: 'The person has more than one current legal spouse.', system: maritalStatusUri)
domesticPartner → const MaritalStatus

Domestic partner

const MaritalStatus(code: 'T', display: 'Domestic partner', definition: 'The person declares that a domestic partner relationship exists.', system: maritalStatusUri)
unmarried → const MaritalStatus

Unmarried

const MaritalStatus(code: 'U', display: 'Unmarried', definition: 'The person is not married.', system: maritalStatusUri)
unknown → const MaritalStatus

Unknown

const MaritalStatus(code: 'UNK', display: 'Unknown', definition: 'A proper value is applicable, but not known. Usage Notes: This ' 'means the actual value is not known. If …

Properties

code String
final
definition String
final
display String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
json → JsonValue
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system String
final

Methods

compareTo(MaritalStatus other) int
Compares this object to another object.
override
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

Static Methods

fromCode(String code) MaritalStatus?
Returns the marital status based on the string code, and returns null if no match is found

Constants

values → const List<MaritalStatus>
A constant List of the values in this enum, in order of their declaration.