Status class final

The result of a call or of asynchronous work.

See mln_status in the C API reference.

Constructors

Status.fromRawValue(int rawValue)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
rawValue → int
The value's C representation, which may be one this binding predates.
finalinherited
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

alreadyExists → const Status
Something already has the given ID.
busy → const Status
Another call is still using the same object.
cancelled → const Status
The work stopped before it finished, such as when its handle was released.
invalidArgument → const Status
An argument is invalid, such as malformed JSON or a value out of range.
invalidState → const Status
The call doesn't fit the current state, such as removing a source that a layer still uses.
nativeError → const Status
The library or the platform hit an error, such as a failed graphics driver call.
notFound → const Status
Nothing has the given ID.
ok → const Status
targetLost → const Status
The render target can't be drawn to anymore.
unsupported → const Status
The platform, the build, or the render target lacks the feature.
wrongThread → const Status
The call came from a thread that can't make it.