bodyAsBytes property

List<int> bodyAsBytes

Implementation

core.List<core.int> get bodyAsBytes => convert.base64.decode(body!);
void bodyAsBytes=(List<int> bytes_)

Implementation

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