OrderState enum

Indicates state of the order.

Inheritance

Constructors

OrderState()
const

Values

open → const OrderState

Indicates the order is open. Open orders may be updated.

completed → const OrderState

Indicates the order is completed. Completed orders are fully paid. This is a terminal state.

canceled → const OrderState

Indicates the order is canceled. Canceled orders are not paid. This is a terminal state.

draft → const OrderState

Indicates that the order is in a draft state. Draft orders can be updated, but cannot be paid or fulfilled.

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