contains method
Checks whether the key exists in the storage. @param key Key to check. @return true if a value is stored under the key (regardless of type).
Dart code snippet: @snippet storage_manager_example.dart dart_KeyValueStorage_contains
Implementation
@override
bool contains(String key) {
final _containsFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Pointer<Void>),
int Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_KeyValueStorage_contains__Key'));
final _keyHandle = navigine_sdk_flutter_String_ToFfi(key);
final _handle = this.handle;
final __resultHandle = _containsFfi(_handle, _keyHandle);
navigine_sdk_flutter_String_ReleaseFfiHandle(_keyHandle);
final _result = navigine_sdk_flutter_bool_FromFfi(__resultHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(__resultHandle);
return _result;
}