valueAsBytes property Null safety

List<int> valueAsBytes

Implementation

core.List<core.int> get valueAsBytes => convert.base64.decode(value!);
void valueAsBytes=(List<int> _bytes)

Implementation

set valueAsBytes(core.List<core.int> _bytes) {
  value =
      convert.base64.encode(_bytes).replaceAll('/', '_').replaceAll('+', '-');
}