sign method

  1. @override
Future<Uint8List> sign(
  1. String tag,
  2. Uint8List payload
)
override

Implementation

@override
Future<Uint8List> sign(String tag, Uint8List payload) async {
  final signature = await methodChannel.invokeMethod(
    Methods.sign,
    {'tag': tag, 'payload': payload},
  );
  return signature;
}