diff --git a/lib/flutter_openssl_crypto.dart b/lib/flutter_openssl_crypto.dart deleted file mode 100644 index 064f57f..0000000 --- a/lib/flutter_openssl_crypto.dart +++ /dev/null @@ -1,14 +0,0 @@ - -import 'dart:async'; - -import 'package:flutter/services.dart'; - -class FlutterOpensslCrypto { - static const MethodChannel _channel = - const MethodChannel('flutter_openssl_crypto'); - - static Future get platformVersion async { - final String version = await _channel.invokeMethod('getPlatformVersion'); - return version; - } -} diff --git a/test/flutter_openssl_crypto_test.dart b/test/flutter_openssl_crypto_test.dart index 33ef7e9..ab73b3a 100644 --- a/test/flutter_openssl_crypto_test.dart +++ b/test/flutter_openssl_crypto_test.dart @@ -1,23 +1 @@ -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:flutter_openssl_crypto/flutter_openssl_crypto.dart'; - -void main() { - const MethodChannel channel = MethodChannel('flutter_openssl_crypto'); - - TestWidgetsFlutterBinding.ensureInitialized(); - - setUp(() { - channel.setMockMethodCallHandler((MethodCall methodCall) async { - return '42'; - }); - }); - - tearDown(() { - channel.setMockMethodCallHandler(null); - }); - - test('getPlatformVersion', () async { - expect(await FlutterOpensslCrypto.platformVersion, '42'); - }); -} +void main() {}