idAsBytes property

List<int> get idAsBytes

Implementation

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

Implementation

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