mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
c1253663b7
* refactor(mobile): services and provider * providers
18 lines
519 B
Dart
18 lines
519 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/models/map/map_state.model.dart';
|
|
import 'package:immich_mobile/providers/map/map_state.provider.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
|
|
class MockMapStateNotifier extends Notifier<MapState>
|
|
with Mock
|
|
implements MapStateNotifier {
|
|
final MapState initState;
|
|
|
|
MockMapStateNotifier(this.initState);
|
|
|
|
@override
|
|
MapState build() => initState;
|
|
|
|
@override
|
|
set state(MapState mapState) => super.state = mapState;
|
|
}
|