-
-
Save MwBakker/09c4d8eda3fe19c45b6c6a7853e37136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'db_automotive.dart'; | |
import 'db_event.dart'; | |
import 'db_profile.dart'; | |
import 'db_route.dart'; | |
import 'db_vehicle.dart'; | |
class DataController { | |
static VehicleDB vehicleDB = new VehicleDB(); | |
static AutomotiveDB automotiveDB = new AutomotiveDB(); | |
static EventDB eventDB = new EventDB(); | |
static RouteDB routeDB = new RouteDB(); | |
static ProfileDB profileDB = new ProfileDB(); | |
static Future getUserVehicles() async { | |
return vehicleDB.getUserVehicles(); | |
} | |
..... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment