Hash class

Annotations
  • @freezed

Constructors

Hash(Uint8List bytes)
factory
Hash.fromJson(String json)
factory

Properties

bytes Uint8List
no setterinherited
copyWith → $HashCopyWith<Hash>
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
prefix([int size = kHashSize]) HashPrefix
toJson() String
toString() String
A string representation of this object.
override

Operators

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

Static Properties

empty Hash
getter/setter pair

Static Methods

dataToHash(Uint8List data) Hash
parse(String hex) Hash
tryParse(String hex) Hash?