EFileModel.build constructor
EFileModel.build({})
Implementation
factory EFileModel.build({
required String base64Pdf,
required String fileName,
signPage = 1,
signX = 0,
signY = 0,
}) {
final fileData = base64.decode(base64Pdf);
return EFileModel._(
name: fileName,
base64pdf: base64Pdf,
size: fileData.length,
bytes: fileData,
signPage: signPage,
signX: signX,
signY: signY,
);
}