userIdAsBytes property

List<int> userIdAsBytes

Implementation

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

Implementation

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