KnotSuccess.fromJson constructor

KnotSuccess.fromJson(
  1. dynamic json
)

Factory method to create a KnotSuccess from a json map.

Implementation

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