KnotSuccess.fromJson constructor
KnotSuccess.fromJson(
- 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"]
);
}