feat : new injection logic
test : some file :) chore : upgrade android gradle
This commit is contained in:
@@ -3,27 +3,27 @@
|
||||
// Check in to version control
|
||||
|
||||
import 'package:hive_ce/hive.dart';
|
||||
import 'package:rasadyar_livestock/data/model/local/live_tmp/car.dart';
|
||||
import 'package:rasadyar_livestock/data/model/local/live_tmp/livestock_local_model.dart';
|
||||
import 'package:rasadyar_livestock/data/model/local/location/tmp_locations.dart';
|
||||
|
||||
extension HiveRegistrar on HiveInterface {
|
||||
void registerAdapters() {
|
||||
registerAdapter(CarsLocalAdapter());
|
||||
registerAdapter(HerdLocalAdapter());
|
||||
registerAdapter(LivestockLocalAdapter());
|
||||
registerAdapter(LivestockLocalModelAdapter());
|
||||
registerAdapter(LocationLocalAdapter());
|
||||
registerAdapter(RancherLocalAdapter());
|
||||
registerAdapter(TmpLocationsAdapter());
|
||||
}
|
||||
}
|
||||
|
||||
extension IsolatedHiveRegistrar on IsolatedHiveInterface {
|
||||
void registerAdapters() {
|
||||
registerAdapter(CarsLocalAdapter());
|
||||
registerAdapter(HerdLocalAdapter());
|
||||
registerAdapter(LivestockLocalAdapter());
|
||||
registerAdapter(LivestockLocalModelAdapter());
|
||||
registerAdapter(LocationLocalAdapter());
|
||||
registerAdapter(RancherLocalAdapter());
|
||||
registerAdapter(TmpLocationsAdapter());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user