wrapAndSignAndJsonEncode method
Same as wrapAndSign but we also call jsonEncode for you :)
Implementation
FutureOr<String> wrapAndSignAndJsonEncode(
Object? payload, {
Object? Function(Object? nonEncodable)? toEncodable,
}) async {
Map<String, Object?> envelope =
await wrapAndSign(payload, toEncodable: toEncodable);
return jsonEncode(envelope, toEncodable: toEncodable);
}