2024-01-15 15:26:13 +00:00
|
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
2024-05-01 02:36:40 +00:00
|
|
|
import 'package:immich_mobile/models/map/map_state.model.dart';
|
2024-05-02 20:59:14 +00:00
|
|
|
import 'package:immich_mobile/providers/map/map_state.provider.dart';
|
2024-01-15 15:26:13 +00:00
|
|
|
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;
|
|
|
|
}
|