bodyAsBytes property

List<int> bodyAsBytes

Implementation

core.List<core.int> get bodyAsBytes {
  return convert.base64.decode(body);
}
void bodyAsBytes= (List<int> _bytes)

Implementation

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