toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.expiresAt != null) {
json[r'expiresAt'] = this.expiresAt;
} else {
json[r'expiresAt'] = null;
}
if (this.flow != null) {
json[r'flow'] = this.flow;
} else {
json[r'flow'] = null;
}
if (this.interval != null) {
json[r'interval'] = this.interval;
} else {
json[r'interval'] = null;
}
if (this.userCode != null) {
json[r'userCode'] = this.userCode;
} else {
json[r'userCode'] = null;
}
if (this.verifyUrl != null) {
json[r'verifyUrl'] = this.verifyUrl;
} else {
json[r'verifyUrl'] = null;
}
return json;
}