KnotError.fromJson constructor
KnotError.fromJson(
- dynamic json
Implementation
factory KnotError.fromJson(dynamic json) {
return KnotError(
errorCode: json["error"],
message: json["message"],
type: json["type"],
);
}