IDHelper class abstract interface

Helper interface for ID management in the account system.

Manages ID factories and provides core functionality for:

  • Parsing raw ID data into strongly-typed ID instances
  • Creating/generating unique IDs for accounts/entities

IDs combine an address with optional name/terminal information to uniquely identify users/devices in the network.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createID({String? name, required Address address, String? terminal}) ID
Creates a custom ID with specified parameters.
generateID(Meta meta, int? network, {String? terminal}) ID
Generates a unique ID from entity metadata and network parameters.
getIDFactory() IDFactory?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseID(Object? identifier) ID?
Parses a raw object into a strongly-typed ID instance.
setIDFactory(IDFactory factory) → void
toString() String
A string representation of this object.
inherited

Operators

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