NodeInput.fromJson constructor

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

Implementation

factory NodeInput.fromJson(Map<String, dynamic> json) => NodeInput(
      id: json["id"] == null ? null : json["id"],
      next: List<String>.from(json["next"].map((x) => x)),
    );