You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
860 lines
22 KiB
860 lines
22 KiB
// Mocks generated by Mockito 5.4.6 from annotations
|
|
// in app_boilerplate/test/ui/navigation/main_navigation_scaffold_test.dart.
|
|
// Do not manually edit this file.
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'dart:async' as _i9;
|
|
import 'dart:io' as _i2;
|
|
|
|
import 'package:app_boilerplate/data/firebase/firebase_service.dart' as _i19;
|
|
import 'package:app_boilerplate/data/firebase/models/firebase_config.dart'
|
|
as _i6;
|
|
import 'package:app_boilerplate/data/local/local_storage_service.dart' as _i7;
|
|
import 'package:app_boilerplate/data/local/models/item.dart' as _i10;
|
|
import 'package:app_boilerplate/data/nostr/models/nostr_event.dart' as _i4;
|
|
import 'package:app_boilerplate/data/nostr/models/nostr_keypair.dart' as _i3;
|
|
import 'package:app_boilerplate/data/nostr/models/nostr_profile.dart' as _i13;
|
|
import 'package:app_boilerplate/data/nostr/models/nostr_relay.dart' as _i12;
|
|
import 'package:app_boilerplate/data/nostr/nostr_service.dart' as _i11;
|
|
import 'package:app_boilerplate/data/session/models/user.dart' as _i5;
|
|
import 'package:app_boilerplate/data/session/session_service.dart' as _i18;
|
|
import 'package:app_boilerplate/data/sync/models/sync_operation.dart' as _i15;
|
|
import 'package:app_boilerplate/data/sync/models/sync_status.dart' as _i16;
|
|
import 'package:app_boilerplate/data/sync/sync_engine.dart' as _i14;
|
|
import 'package:firebase_auth/firebase_auth.dart' as _i8;
|
|
import 'package:mockito/mockito.dart' as _i1;
|
|
import 'package:mockito/src/dummies.dart' as _i17;
|
|
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: avoid_redundant_argument_values
|
|
// ignore_for_file: avoid_setters_without_getters
|
|
// ignore_for_file: comment_references
|
|
// ignore_for_file: deprecated_member_use
|
|
// ignore_for_file: deprecated_member_use_from_same_package
|
|
// ignore_for_file: implementation_imports
|
|
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
|
// ignore_for_file: must_be_immutable
|
|
// ignore_for_file: prefer_const_constructors
|
|
// ignore_for_file: unnecessary_parenthesis
|
|
// ignore_for_file: camel_case_types
|
|
// ignore_for_file: subtype_of_sealed_class
|
|
|
|
class _FakeFile_0 extends _i1.SmartFake implements _i2.File {
|
|
_FakeFile_0(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeNostrKeyPair_1 extends _i1.SmartFake implements _i3.NostrKeyPair {
|
|
_FakeNostrKeyPair_1(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeNostrEvent_2 extends _i1.SmartFake implements _i4.NostrEvent {
|
|
_FakeNostrEvent_2(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeUser_3 extends _i1.SmartFake implements _i5.User {
|
|
_FakeUser_3(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeFirebaseConfig_4 extends _i1.SmartFake
|
|
implements _i6.FirebaseConfig {
|
|
_FakeFirebaseConfig_4(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeLocalStorageService_5 extends _i1.SmartFake
|
|
implements _i7.LocalStorageService {
|
|
_FakeLocalStorageService_5(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeUser_6 extends _i1.SmartFake implements _i8.User {
|
|
_FakeUser_6(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [LocalStorageService].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockLocalStorageService extends _i1.Mock
|
|
implements _i7.LocalStorageService {
|
|
MockLocalStorageService() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i9.Future<void> initialize({
|
|
String? sessionDbPath,
|
|
_i2.Directory? sessionCacheDir,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#initialize,
|
|
[],
|
|
{
|
|
#sessionDbPath: sessionDbPath,
|
|
#sessionCacheDir: sessionCacheDir,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> reinitializeForSession({
|
|
required String? newDbPath,
|
|
required _i2.Directory? newCacheDir,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#reinitializeForSession,
|
|
[],
|
|
{
|
|
#newDbPath: newDbPath,
|
|
#newCacheDir: newCacheDir,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> clearAllData() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#clearAllData,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> insertItem(_i10.Item? item) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#insertItem,
|
|
[item],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<_i10.Item?> getItem(String? id) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getItem,
|
|
[id],
|
|
),
|
|
returnValue: _i9.Future<_i10.Item?>.value(),
|
|
) as _i9.Future<_i10.Item?>);
|
|
|
|
@override
|
|
_i9.Future<List<_i10.Item>> getAllItems() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAllItems,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<List<_i10.Item>>.value(<_i10.Item>[]),
|
|
) as _i9.Future<List<_i10.Item>>);
|
|
|
|
@override
|
|
_i9.Future<void> deleteItem(String? id) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#deleteItem,
|
|
[id],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> updateItem(_i10.Item? item) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateItem,
|
|
[item],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<_i2.File> getCachedImage(String? url) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getCachedImage,
|
|
[url],
|
|
),
|
|
returnValue: _i9.Future<_i2.File>.value(_FakeFile_0(
|
|
this,
|
|
Invocation.method(
|
|
#getCachedImage,
|
|
[url],
|
|
),
|
|
)),
|
|
) as _i9.Future<_i2.File>);
|
|
|
|
@override
|
|
_i9.Future<void> clearImageCache() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#clearImageCache,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> close() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#close,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
}
|
|
|
|
/// A class which mocks [NostrService].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockNostrService extends _i1.Mock implements _i11.NostrService {
|
|
MockNostrService() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i3.NostrKeyPair generateKeyPair() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#generateKeyPair,
|
|
[],
|
|
),
|
|
returnValue: _FakeNostrKeyPair_1(
|
|
this,
|
|
Invocation.method(
|
|
#generateKeyPair,
|
|
[],
|
|
),
|
|
),
|
|
) as _i3.NostrKeyPair);
|
|
|
|
@override
|
|
void addRelay(String? relayUrl) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#addRelay,
|
|
[relayUrl],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void removeRelay(String? relayUrl) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#removeRelay,
|
|
[relayUrl],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
List<_i12.NostrRelay> getRelays() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getRelays,
|
|
[],
|
|
),
|
|
returnValue: <_i12.NostrRelay>[],
|
|
) as List<_i12.NostrRelay>);
|
|
|
|
@override
|
|
_i9.Future<_i9.Stream<Map<String, dynamic>>> connectRelay(String? relayUrl) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#connectRelay,
|
|
[relayUrl],
|
|
),
|
|
returnValue: _i9.Future<_i9.Stream<Map<String, dynamic>>>.value(
|
|
_i9.Stream<Map<String, dynamic>>.empty()),
|
|
) as _i9.Future<_i9.Stream<Map<String, dynamic>>>);
|
|
|
|
@override
|
|
void disconnectRelay(String? relayUrl) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#disconnectRelay,
|
|
[relayUrl],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
_i9.Future<void> publishEvent(
|
|
_i4.NostrEvent? event,
|
|
String? relayUrl,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#publishEvent,
|
|
[
|
|
event,
|
|
relayUrl,
|
|
],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<Map<String, bool>> publishEventToAllRelays(
|
|
_i4.NostrEvent? event) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#publishEventToAllRelays,
|
|
[event],
|
|
),
|
|
returnValue: _i9.Future<Map<String, bool>>.value(<String, bool>{}),
|
|
) as _i9.Future<Map<String, bool>>);
|
|
|
|
@override
|
|
_i9.Future<_i4.NostrEvent> syncMetadata({
|
|
required Map<String, dynamic>? metadata,
|
|
required String? privateKey,
|
|
int? kind = 0,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncMetadata,
|
|
[],
|
|
{
|
|
#metadata: metadata,
|
|
#privateKey: privateKey,
|
|
#kind: kind,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<_i4.NostrEvent>.value(_FakeNostrEvent_2(
|
|
this,
|
|
Invocation.method(
|
|
#syncMetadata,
|
|
[],
|
|
{
|
|
#metadata: metadata,
|
|
#privateKey: privateKey,
|
|
#kind: kind,
|
|
},
|
|
),
|
|
)),
|
|
) as _i9.Future<_i4.NostrEvent>);
|
|
|
|
@override
|
|
_i9.Future<_i13.NostrProfile?> fetchProfile(
|
|
String? publicKey, {
|
|
Duration? timeout = const Duration(seconds: 10),
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#fetchProfile,
|
|
[publicKey],
|
|
{#timeout: timeout},
|
|
),
|
|
returnValue: _i9.Future<_i13.NostrProfile?>.value(),
|
|
) as _i9.Future<_i13.NostrProfile?>);
|
|
|
|
@override
|
|
void dispose() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#dispose,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [SyncEngine].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockSyncEngine extends _i1.Mock implements _i14.SyncEngine {
|
|
MockSyncEngine() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
int get maxQueueSize => (super.noSuchMethod(
|
|
Invocation.getter(#maxQueueSize),
|
|
returnValue: 0,
|
|
) as int);
|
|
|
|
@override
|
|
_i9.Stream<_i15.SyncOperation> get statusStream => (super.noSuchMethod(
|
|
Invocation.getter(#statusStream),
|
|
returnValue: _i9.Stream<_i15.SyncOperation>.empty(),
|
|
) as _i9.Stream<_i15.SyncOperation>);
|
|
|
|
@override
|
|
void setNostrKeyPair(_i3.NostrKeyPair? keypair) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#setNostrKeyPair,
|
|
[keypair],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void setConflictResolution(_i16.ConflictResolution? strategy) =>
|
|
super.noSuchMethod(
|
|
Invocation.method(
|
|
#setConflictResolution,
|
|
[strategy],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
List<_i15.SyncOperation> getPendingOperations() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getPendingOperations,
|
|
[],
|
|
),
|
|
returnValue: <_i15.SyncOperation>[],
|
|
) as List<_i15.SyncOperation>);
|
|
|
|
@override
|
|
List<_i15.SyncOperation> getAllOperations() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAllOperations,
|
|
[],
|
|
),
|
|
returnValue: <_i15.SyncOperation>[],
|
|
) as List<_i15.SyncOperation>);
|
|
|
|
@override
|
|
void queueOperation(_i15.SyncOperation? operation) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#queueOperation,
|
|
[operation],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
_i9.Future<String> syncToImmich(
|
|
String? itemId, {
|
|
_i16.SyncPriority? priority = _i16.SyncPriority.normal,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncToImmich,
|
|
[itemId],
|
|
{#priority: priority},
|
|
),
|
|
returnValue: _i9.Future<String>.value(_i17.dummyValue<String>(
|
|
this,
|
|
Invocation.method(
|
|
#syncToImmich,
|
|
[itemId],
|
|
{#priority: priority},
|
|
),
|
|
)),
|
|
) as _i9.Future<String>);
|
|
|
|
@override
|
|
_i9.Future<String> syncFromImmich(
|
|
String? assetId, {
|
|
_i16.SyncPriority? priority = _i16.SyncPriority.normal,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncFromImmich,
|
|
[assetId],
|
|
{#priority: priority},
|
|
),
|
|
returnValue: _i9.Future<String>.value(_i17.dummyValue<String>(
|
|
this,
|
|
Invocation.method(
|
|
#syncFromImmich,
|
|
[assetId],
|
|
{#priority: priority},
|
|
),
|
|
)),
|
|
) as _i9.Future<String>);
|
|
|
|
@override
|
|
_i9.Future<String> syncToNostr(
|
|
String? itemId, {
|
|
_i16.SyncPriority? priority = _i16.SyncPriority.normal,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncToNostr,
|
|
[itemId],
|
|
{#priority: priority},
|
|
),
|
|
returnValue: _i9.Future<String>.value(_i17.dummyValue<String>(
|
|
this,
|
|
Invocation.method(
|
|
#syncToNostr,
|
|
[itemId],
|
|
{#priority: priority},
|
|
),
|
|
)),
|
|
) as _i9.Future<String>);
|
|
|
|
@override
|
|
_i9.Future<List<String>> syncAll(
|
|
{_i16.SyncPriority? priority = _i16.SyncPriority.normal}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncAll,
|
|
[],
|
|
{#priority: priority},
|
|
),
|
|
returnValue: _i9.Future<List<String>>.value(<String>[]),
|
|
) as _i9.Future<List<String>>);
|
|
|
|
@override
|
|
Map<String, dynamic> resolveConflict(
|
|
Map<String, dynamic>? localItem,
|
|
Map<String, dynamic>? remoteItem,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#resolveConflict,
|
|
[
|
|
localItem,
|
|
remoteItem,
|
|
],
|
|
),
|
|
returnValue: <String, dynamic>{},
|
|
) as Map<String, dynamic>);
|
|
|
|
@override
|
|
void clearCompleted() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#clearCompleted,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void clearFailed() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#clearFailed,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void dispose() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#dispose,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [SessionService].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockSessionService extends _i1.Mock implements _i18.SessionService {
|
|
MockSessionService() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
bool get isLoggedIn => (super.noSuchMethod(
|
|
Invocation.getter(#isLoggedIn),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
_i9.Future<_i5.User> login({
|
|
required String? id,
|
|
required String? username,
|
|
String? token,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#login,
|
|
[],
|
|
{
|
|
#id: id,
|
|
#username: username,
|
|
#token: token,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<_i5.User>.value(_FakeUser_3(
|
|
this,
|
|
Invocation.method(
|
|
#login,
|
|
[],
|
|
{
|
|
#id: id,
|
|
#username: username,
|
|
#token: token,
|
|
},
|
|
),
|
|
)),
|
|
) as _i9.Future<_i5.User>);
|
|
|
|
@override
|
|
_i9.Future<_i5.User> loginWithNostr(String? nsecOrNpub) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#loginWithNostr,
|
|
[nsecOrNpub],
|
|
),
|
|
returnValue: _i9.Future<_i5.User>.value(_FakeUser_3(
|
|
this,
|
|
Invocation.method(
|
|
#loginWithNostr,
|
|
[nsecOrNpub],
|
|
),
|
|
)),
|
|
) as _i9.Future<_i5.User>);
|
|
|
|
@override
|
|
_i9.Future<void> logout({bool? clearCache = true}) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#logout,
|
|
[],
|
|
{#clearCache: clearCache},
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<_i5.User> switchSession({
|
|
required String? id,
|
|
required String? username,
|
|
String? token,
|
|
bool? clearCache = true,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#switchSession,
|
|
[],
|
|
{
|
|
#id: id,
|
|
#username: username,
|
|
#token: token,
|
|
#clearCache: clearCache,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<_i5.User>.value(_FakeUser_3(
|
|
this,
|
|
Invocation.method(
|
|
#switchSession,
|
|
[],
|
|
{
|
|
#id: id,
|
|
#username: username,
|
|
#token: token,
|
|
#clearCache: clearCache,
|
|
},
|
|
),
|
|
)),
|
|
) as _i9.Future<_i5.User>);
|
|
}
|
|
|
|
/// A class which mocks [FirebaseService].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockFirebaseService extends _i1.Mock implements _i19.FirebaseService {
|
|
MockFirebaseService() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i6.FirebaseConfig get config => (super.noSuchMethod(
|
|
Invocation.getter(#config),
|
|
returnValue: _FakeFirebaseConfig_4(
|
|
this,
|
|
Invocation.getter(#config),
|
|
),
|
|
) as _i6.FirebaseConfig);
|
|
|
|
@override
|
|
_i7.LocalStorageService get localStorage => (super.noSuchMethod(
|
|
Invocation.getter(#localStorage),
|
|
returnValue: _FakeLocalStorageService_5(
|
|
this,
|
|
Invocation.getter(#localStorage),
|
|
),
|
|
) as _i7.LocalStorageService);
|
|
|
|
@override
|
|
bool get isEnabled => (super.noSuchMethod(
|
|
Invocation.getter(#isEnabled),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
bool get isLoggedIn => (super.noSuchMethod(
|
|
Invocation.getter(#isLoggedIn),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
_i9.Future<void> initialize() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#initialize,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<_i8.User> loginWithEmailPassword({
|
|
required String? email,
|
|
required String? password,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#loginWithEmailPassword,
|
|
[],
|
|
{
|
|
#email: email,
|
|
#password: password,
|
|
},
|
|
),
|
|
returnValue: _i9.Future<_i8.User>.value(_FakeUser_6(
|
|
this,
|
|
Invocation.method(
|
|
#loginWithEmailPassword,
|
|
[],
|
|
{
|
|
#email: email,
|
|
#password: password,
|
|
},
|
|
),
|
|
)),
|
|
) as _i9.Future<_i8.User>);
|
|
|
|
@override
|
|
_i9.Future<void> logout() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#logout,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> syncItemsToFirestore(String? userId) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncItemsToFirestore,
|
|
[userId],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> syncItemsFromFirestore(String? userId) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#syncItemsFromFirestore,
|
|
[userId],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<String> uploadFile(
|
|
_i2.File? file,
|
|
String? path,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#uploadFile,
|
|
[
|
|
file,
|
|
path,
|
|
],
|
|
),
|
|
returnValue: _i9.Future<String>.value(_i17.dummyValue<String>(
|
|
this,
|
|
Invocation.method(
|
|
#uploadFile,
|
|
[
|
|
file,
|
|
path,
|
|
],
|
|
),
|
|
)),
|
|
) as _i9.Future<String>);
|
|
|
|
@override
|
|
_i9.Future<String?> getFcmToken() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getFcmToken,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<String?>.value(),
|
|
) as _i9.Future<String?>);
|
|
|
|
@override
|
|
_i9.Future<void> logEvent(
|
|
String? eventName, {
|
|
Map<String, dynamic>? parameters,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#logEvent,
|
|
[eventName],
|
|
{#parameters: parameters},
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
|
|
@override
|
|
_i9.Future<void> dispose() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#dispose,
|
|
[],
|
|
),
|
|
returnValue: _i9.Future<void>.value(),
|
|
returnValueForMissingStub: _i9.Future<void>.value(),
|
|
) as _i9.Future<void>);
|
|
}
|