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