mcuDecrypt method

  1. @override
Future<Uint8List> mcuDecrypt(
  1. Uint8List mac,
  2. Uint8List payload
)
override

Implementation

@override
Future<Uint8List> mcuDecrypt(Uint8List mac, Uint8List payload) async {
  final result = await methodChannel.invokeMethod<Uint8List>(
    'mcuDecrypt',
    Map.of(<String, Object>{
      'mac': mac,
      'payload': payload,
    }),
  );
  return result ?? Uint8List(0);
}