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