Fix/Update #1

Merged
hugo merged 39 commits from Fix/Update into master 2022-06-01 11:51:16 +00:00
Showing only changes of commit 9aa4eeb567 - Show all commits

View File

@ -3,7 +3,7 @@
// ----- // -----
// File: native_crypto_platform_interface.dart // File: native_crypto_platform_interface.dart
// Created Date: 25/12/2021 16:43:49 // Created Date: 25/12/2021 16:43:49
// Last Modified: 24/05/2022 22:58:31 // Last Modified: 25/05/2022 22:11:02
// ----- // -----
// Copyright (c) 2021 // Copyright (c) 2021
@ -36,7 +36,7 @@ abstract class NativeCryptoPlatform extends PlatformInterface {
/// Platform-specific plugins should set this with their own platform-specific /// Platform-specific plugins should set this with their own platform-specific
/// class that extends [NativeCryptoPlatform] when they register themselves. /// class that extends [NativeCryptoPlatform] when they register themselves.
static set instance(NativeCryptoPlatform instance) { static set instance(NativeCryptoPlatform instance) {
PlatformInterface.verifyToken(instance, _token); PlatformInterface.verify(instance, _token);
_instance = instance; _instance = instance;
} }