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