toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'key'] = this.key;
if (this.nonce != null) {
json[r'nonce'] = this.nonce;
} else {
json[r'nonce'] = null;
}
if (this.scope != null) {
json[r'scope'] = this.scope;
} else {
json[r'scope'] = null;
}
return json;
}