Creates a new instance from json.
json
factory SortParams.fromJson(Map<String, dynamic> json) { return SortParams(json['values']); }