Base58Data class

Byte data represented by Base-58 encoded text. @param value the underlying bytes data

Constructors

Base58Data(Uint8List value)
Creates Base58Data from the given data input. @param bytes the bytes to create Base58Data from @return a Base58Data instance
Base58Data.unsafe(String from)
Unsafely creates a Base58Data instance from a String. Throws an ArgumentError if the input is not a valid Base-58 encoded string. @param from the String to create the Base58Data from @return the Base58Data @throws ArgumentError when the input string is not a valid Base-58 encoding.
factory
Base58Data.validated(String from)
Creates a Base58Data value from a String. Validates that the input String is a valid Base-58 encoding. @param from the String to create the Base58Data from. @return a DataEncodingValidationFailure representing a validation error or the Base58Data instance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show String
no setter
value Uint8List
final

Methods

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