decryptFromHex static method

Future<String> decryptFromHex(
  1. String hex,
  2. String key
)

Implementation

static Future<String> decryptFromHex(String hex, String key) async {
  if (hex.isEmpty || key.isEmpty) {
    return '';
  }
  final String decryString = await _channel.invokeMethod('decryptFromHex', [hex, key]);
  return decryString;
}