1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| import 'package:locations/model/map/location_model.dart';
| import 'package:locations/model/user/user_info.dart';
| import 'package:event_bus/event_bus.dart';
|
| EventBus eventBus = EventBus();
|
| class UserLocationInfoEventBus {
| BaiduLocation? location;
| UserInfo? user;
| UserLocationInfoEventBus(this.location, this.user);
| }
|
| class LoginEventBus {
| final bool isLogin;
| LoginEventBus(this.isLogin);
| }
|
|