Payload class Null safety

Implementers

Constructors

Payload()
Payload.from(Uint8List? metadata, Uint8List? data)
Payload.fromJson(dynamic json)
factory
Payload.fromText(String metadata, String data)

Properties

data Uint8List?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
metadata Uint8List?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getDataUtf8() String?
getMetadataUtf8() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map
toString() String
A string representation of this object. [...]
inherited

Operators

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