diff --git a/lib/flutter_des.dart b/lib/flutter_des.dart index 66db0ec..3091a57 100644 --- a/lib/flutter_des.dart +++ b/lib/flutter_des.dart @@ -14,7 +14,7 @@ class FlutterDes { if (string.isEmpty) { return null; } - final Uint8List crypt = + final Uint8List? crypt = await _channel.invokeMethod('encrypt', [string, key, iv]); return crypt; }