toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'ts'] = this.ts.toUtc().toIso8601String();
json[r'valid'] = this.valid;
json[r'detail'] = this.detail;
json[r'code'] = this.code;
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;
}