EdgeInput.fromJson constructor

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

Implementation

factory EdgeInput.fromJson(Map<String, dynamic> json) => EdgeInput(
      outcome: json["outcome"] == null ? null : json["outcome"],
      type: json["type"] == null
          ? EdgeArrowType.one
          : EdgeInput.typeFromString(json["type"]),
    );