fromJson static method

Links fromJson(
  1. dynamic value
)

Returns a new Links instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static Links fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return Links(
    next: mapValueOfType<String>(json, r'next'),
    self: mapValueOfType<String>(json, r'self'),
    prev: mapValueOfType<String>(json, r'prev'),
  );
}