getSignature method
Implementation
Uint8List getSignature() {
final signature = File('${directory.path}/signature');
if (!signature.existsSync()) throw Exception('Signature file is missing!');
return signature.readAsBytesSync();
}
Uint8List getSignature() {
final signature = File('${directory.path}/signature');
if (!signature.existsSync()) throw Exception('Signature file is missing!');
return signature.readAsBytesSync();
}