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('+', '-');
}