fromJson static method

OrganizationLinks fromJson(
  1. dynamic value
)

Returns a new OrganizationLinks instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static OrganizationLinks fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return OrganizationLinks(
    self: mapValueOfType<String>(json, r'self'),
    members: mapValueOfType<String>(json, r'members'),
    owners: mapValueOfType<String>(json, r'owners'),
    labels: mapValueOfType<String>(json, r'labels'),
    secrets: mapValueOfType<String>(json, r'secrets'),
    buckets: mapValueOfType<String>(json, r'buckets'),
    tasks: mapValueOfType<String>(json, r'tasks'),
    dashboards: mapValueOfType<String>(json, r'dashboards'),
  );
}