signingContent property

String get signingContent

Implementation

String get signingContent {
  final data = super.toJson().copy();
  // some old data might have the custom verified and blocked keys
  data.remove('verified');
  data.remove('blocked');
  // remove the keys not needed for signing
  data.remove('unsigned');
  data.remove('signatures');
  return String.fromCharCodes(canonicalJson.encode(data));
}