stateAsBytes property

List<int> stateAsBytes

Implementation

core.List<core.int> get stateAsBytes {
  return convert.base64.decode(state);
}
void stateAsBytes= (List<int> _bytes)

Implementation

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