agentContentAsBytes property

List<int> get agentContentAsBytes

Implementation

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

Implementation

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