deserialize method Null safety
- Uint8List serialized
Deserializes a byte array into a destination.
Implementation
static TikiSdkDestination deserialize(Uint8List serialized) {
List<Uint8List> unserialized = CompactSize.decode(serialized);
return TikiSdkDestination(jsonDecode(String.fromCharCodes(unserialized[0])),
uses: jsonDecode(String.fromCharCodes(unserialized[0])));
}