KnownLabelValueDefinitionDefaultSetting enum

Overview

The object representing knownValues defined in Lexicon as an Enum.

Although the knownValues defined in Lexicon are not technically Enums, it is very useful to be able to treat these fields as type safe Enums.

Usage

Get JSON compatible value

// JSON compatible value.
final value = KnownLabelValueDefinitionDefaultSetting.something.value;

Convert to ULabelValueDefinitionDefaultSetting

final union = KnownLabelValueDefinitionDefaultSetting.something.toUnion();
Inheritance
  • Object
  • Enum
  • KnownLabelValueDefinitionDefaultSetting
Available extensions

Values

ignore → const KnownLabelValueDefinitionDefaultSetting
const KnownLabelValueDefinitionDefaultSetting('ignore')
warn → const KnownLabelValueDefinitionDefaultSetting
const KnownLabelValueDefinitionDefaultSetting('warn')
hide → const KnownLabelValueDefinitionDefaultSetting
const KnownLabelValueDefinitionDefaultSetting('hide')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
JSON value based on lexicon.
final

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

Static Methods

valueOf(String? value) KnownLabelValueDefinitionDefaultSetting?
Returns KnownLabelValueDefinitionDefaultSetting associated with value, otherwise null.

Constants

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