fromJson static method

Genre fromJson(
  1. Map<String, dynamic> json
)

Implementation

static Genre fromJson(Map<String, dynamic> json) {
  return Genre(
    id: json["id"],
    name: json["name"],
    description: json["description"],
  );
}