jsonContinuationCodec<R> function
Creates a continuation codec that encodes the values as JSON, UTF-8, XOR
(if secret
is provided) and URL-safe, no-pad BASE-64 text.
Implementation
Codec<R, String> jsonContinuationCodec<R>({dynamic secret}) =>
CastCodec<R, dynamic>()
.fuse(json)
.fuse(utf8)
.fuse(XorCodec(secret))
.fuse(base64UrlNoPad);