cosmoBinaryReferenceAsBytes property

List<int> get cosmoBinaryReferenceAsBytes

Implementation

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

Implementation

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