fromJson static method

LabelsResponse fromJson(
  1. dynamic value
)

Returns a new LabelsResponse instance and imports

Implementation

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