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