mediaIdAsBytes property

List<int> get mediaIdAsBytes

Implementation

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

Implementation

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