fromJson static method

Tasks fromJson(
  1. dynamic value
)

Returns a new Tasks instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static Tasks fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return Tasks(
    links: json[r'links'] == null ? null : Links.fromJson(json[r'links']),
    tasks: Task.listFromJson(json[r'tasks']),
  );
}