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