RelationshipParent.fromJson constructor

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

Implementation

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