Failure class

The Failure protobuf message; field numbers follow the Trezor firmware .proto definitions.

Inheritance

Constructors

Failure({int? code, String? message})
const
Failure.decode(ProtoFields f)
factory

Properties

code → int?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
final
messageType → int
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Uint8List
Serialized body. Messages without fields keep this default.
inherited
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