Author.fromJson constructor

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

Implementation

factory Author.fromJson(Map<String, dynamic> json) => Author(
      name: json["name"],
      id: json["id"],
      role: json["role"],
    );