LDValueType enum

Describes the type of an LDValue. These correspond to the standard types in JSON.

Inheritance

Constructors

LDValueType()
const

Values

nullType → const LDValueType

The value is null.

boolean → const LDValueType

The value is a boolean.

number → const LDValueType

The value is a number.

JSON does not have separate types for integers and floating-point values, but you can convert to either.

string → const LDValueType

The value is a string.

array → const LDValueType

The value is an array.

object → const LDValueType

The value is an object (map).

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

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<LDValueType>
A constant List of the values in this enum, in order of their declaration.