fromJson static method

Category fromJson(
  1. dynamic json
)

Implementation

static Category fromJson(dynamic json) {
  return Category(id: json['id'], cid: json['cid'], name: json['name']);
}