AviaryStatus enum Errors and helpers

The stable status codes of the C ABI. Values never change.

Inheritance
Available extensions

Values

ok → const AviaryStatus

Success.

const AviaryStatus(0)
failure → const AviaryStatus

A failure with no more specific mapping.

const AviaryStatus(1)
genesisSealed → const AviaryStatus

Genesis is sealed because a block was produced; fund accounts with transfers instead of credits.

const AviaryStatus(2)
badInput → const AviaryStatus

Malformed input: a wrong length, a missing value or a bad encoding.

const AviaryStatus(3)

Properties

code → int
The ABI value.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Static Methods

fromCode(int code) → AviaryStatus
The status for an ABI code; unknown codes map to failure.

Constants

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