check null safety

This commit is contained in:
tzw
2021-09-10 14:27:38 +06:30
parent a144c945b6
commit 7670779b03
57 changed files with 620 additions and 626 deletions

View File

@@ -35,17 +35,18 @@ import 'user_service.dart';
class Services {
static final Services instance = Services._();
AuthService _authService;
UserService _userService;
PackageService _packageService;
MessagingService _messagingService;
CommonService _commonService;
FcsShipmentService _fcsShipmentService;
DeliveryAddressService _deliveryAddressService;
RateService _rateService;
ShipmentService _shipmentService;
CartonService _cartonService;
InvoiceService _invoiceService;
late AuthService _authService;
late UserService _userService;
late PackageService _packageService;
late MessagingService _messagingService;
late CommonService _commonService;
late FcsShipmentService _fcsShipmentService;
late DeliveryAddressService _deliveryAddressService;
late RateService _rateService;
late ShipmentService _shipmentService;
late CartonService _cartonService;
late InvoiceService _invoiceService;
Services._() {
_authService = AuthServiceImp(
authFb: AuthFb.instance,