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