Actor.fromJson constructor

Actor.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Actor.fromJson(Map<String, Object?> json) => Actor(
      email: json["email"] == null ? null : json["email"] as String,
      id: json["id"] == null ? null : json["id"] as String,
      name: json["name"] == null ? null : json["name"] as String,
      type: json["type"] as String,
    );