Features class
The subset of Features a wallet needs. Field numbers follow
messages-management.proto.
- Inheritance
-
- Object
- TrezorMessage
- Features
Constructors
-
Features({String? vendor, required int majorVersion, required int minorVersion, required int patchVersion, bool? bootloaderMode, String? deviceId, bool? pinProtection, bool? passphraseProtection, String? label, bool? initialized, bool? unlocked, String? model, List<
int> capabilities = const [], Uint8List? sessionId, bool? passphraseAlwaysOnDevice, bool? busy, String? internalModel, bool? unitBtcOnly}) -
const
- Features.decode(ProtoFields f)
-
factory
Properties
- bootloaderMode → bool?
-
final
- busy → bool?
-
final
-
capabilities
→ List<
int> -
final
- deviceId → String?
-
Stable per-device identifier (changes only on wipe).
final
- firmwareVersion → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized → bool?
-
final
- internalModel → String?
-
Internal model code: T1B1, T2T1, T2B1, T3B1, T3T1, T3W1.
final
- label → String?
-
final
- majorVersion → int
-
final
- messageType → int
-
no setteroverride
- minorVersion → int
-
final
- model → String?
-
Marketing model code: "1", "T", "Safe 3", "Safe 5", "Safe 7".
final
- passphraseAlwaysOnDevice → bool?
-
final
- passphraseProtection → bool?
-
final
- patchVersion → int
-
final
- pinProtection → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → Uint8List?
-
Codec v1 session id; pass back in Initialize to resume.
final
- unitBtcOnly → bool?
-
final
- unlocked → bool?
-
final
- vendor → String?
-
final
Methods
-
encode(
) → Uint8List -
Serialized body. Messages without fields keep this default.
inherited
-
hasCapability(
int capability) → bool -
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