getSignature method

Uint8List getSignature()

Implementation

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

  return signature.readAsBytesSync();
}