payloadAsBytes property Null safety

List<int> payloadAsBytes

Implementation

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

Implementation

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