userIdAsBytes property

List<int> get userIdAsBytes

Implementation

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

Implementation

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