stateAsBytes property

List<int> get stateAsBytes

Implementation

core.List<core.int> get stateAsBytes => convert.base64.decode(state!);
set stateAsBytes (List<int> bytes_)

Implementation

set stateAsBytes(core.List<core.int> bytes_) {
  state =
      convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-');
}