doSignature method

  1. @override
Future<String?> doSignature(
  1. String data,
  2. SamSlot samSlot,
  3. String pin,
  4. int timeoutMs,
)
override

Implementation

@override
Future<String?> doSignature(String data, SamSlot samSlot, String pin, int timeoutMs) async {
  final Map<String, dynamic> args = {
    'pin': pin,
    'data': data,
    'samSlot': getSamSlot(samSlot),
    'timeoutMs': timeoutMs,
  };
  final res = await methodChannel.invokeMethod<String>('doSignature', args);
  return res;
}