fromJson static method

LabelResponse fromJson(
  1. dynamic value
)

Returns a new LabelResponse instance and imports

Implementation

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