Binary class

Stores binary data as a base64 encoded string.

Constructors

Binary(List<int> bytes)
Constructs Binary given a list of bytes.
Binary.fromJson(String base64)
Deserializes a valid base64 string into Binary.

Properties

base64 String
A base64 encoded list of bytes.
final
hashCode int
The hash code for this object.
no setteroverride
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
toBytes() Uint8List
Decodes base64 into a list of bytes.
toJson() String
Serializes Binary into its base64 representation.
toString() String
A string representation of this object.
override

Operators

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