value property

String get value

Returns abbreviation if non-null and not empty, otherwise state name.

Implementation

String get value =>
    (abbreviation != null && abbreviation!.isNotEmpty) ? abbreviation! : stateName;