HashPrefix class
- Annotations
-
- @freezed
Constructors
- HashPrefix(Uint8List bytes)
-
factory
- HashPrefix.fromJson(String json)
-
factory
Properties
- bytes → Uint8List
-
no setterinherited
-
copyWith
→ $HashPrefixCopyWith<
HashPrefix> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hex → String
-
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
-
subPrefix(
int size) → HashPrefix -
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
String hex) → HashPrefix -
tryParse(
String hex) → HashPrefix?