SignedDocumentModel.fromJson constructor
Implementation
factory SignedDocumentModel.fromJson(Map<String, dynamic> json, fileName) {
if (json["code"] != 200) {
throw Exception(json["message"]);
}
return SignedDocumentModel._(
fileBase64: json["response"]["file"],
fileName: fileName,
);
}