fromJson static method

TaskLinks fromJson(
  1. dynamic value
)

Returns a new TaskLinks instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static TaskLinks fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return TaskLinks(
    self: mapValueOfType<String>(json, r'self'),
    owners: mapValueOfType<String>(json, r'owners'),
    members: mapValueOfType<String>(json, r'members'),
    runs: mapValueOfType<String>(json, r'runs'),
    logs: mapValueOfType<String>(json, r'logs'),
    labels: mapValueOfType<String>(json, r'labels'),
  );
}