KnotExit.fromJson constructor

KnotExit.fromJson(
  1. dynamic json
)

Factory method to create a KnotExit from a json map.

Implementation

factory KnotExit.fromJson(dynamic json) {
  return KnotExit(
    type: json["product"],
  );
}