toJson method
Converts this RegisterResult into a JSON-compatible map.
Returns a map with keys 'challenge', 'publicKey', and 'signature'.
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['challenge'] = challenge;
map['publicKey'] = publicKey;
map['signature'] = signature;
return map;
}