fromJson static method
Returns a new TaskUpdateRequest instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static TaskUpdateRequest fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return TaskUpdateRequest(
status: json[r'status'] == null
? null
: TaskStatusType.fromJson(json[r'status']),
flux: mapValueOfType<String>(json, r'flux'),
name: mapValueOfType<String>(json, r'name'),
every: mapValueOfType<String>(json, r'every'),
cron: mapValueOfType<String>(json, r'cron'),
offset: mapValueOfType<String>(json, r'offset'),
description: mapValueOfType<String>(json, r'description'),
);
}