create static method
DurationDataScheme
create({
- String? special_type,
- int? days,
- int? hours,
- int? minutes,
- int? seconds,
- int? milliseconds,
- int? microseconds,
override
return original data json
Implementation
static DurationDataScheme create({
String? special_type,
int? days,
int? hours,
int? minutes,
int? seconds,
int? milliseconds,
int? microseconds,
}) {
DurationDataScheme durationDataScheme = DurationDataScheme({
"@type": special_type,
"days": days,
"hours": hours,
"minutes": minutes,
"seconds": seconds,
"milliseconds": milliseconds,
"microseconds": microseconds,
});
return durationDataScheme;
}