From de15fe2b4e20396cd7948ea01a24edae790e47cc Mon Sep 17 00:00:00 2001 From: LamNguyen176 Date: Fri, 11 Oct 2024 12:22:13 +0700 Subject: [PATCH] remove throw UnimplementedError(#aes-algorithm) --- lib/flutter_crypto_algorithm_platform_interface.dart | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/flutter_crypto_algorithm_platform_interface.dart b/lib/flutter_crypto_algorithm_platform_interface.dart index acdc807..ea5a4ae 100644 --- a/lib/flutter_crypto_algorithm_platform_interface.dart +++ b/lib/flutter_crypto_algorithm_platform_interface.dart @@ -23,11 +23,7 @@ abstract class FlutterCryptoAlgorithmPlatform extends PlatformInterface { _instance = instance; } - Future encrypt(String value, String privateKey, String? ivKey) { - throw UnimplementedError('encrypt(value, privateKey, ivKey?) has not been implemented.'); - } + Future encrypt(String value, String privateKey, String? ivKey); - Future decrypt(String value, String privateKey, String? ivKey) { - throw UnimplementedError('decrypt(value, privateKey, ivKey?) has not been implemented.'); - } + Future decrypt(String value, String privateKey, String? ivKey); }