motocode_core library

Classes

AccountService
Service to handle account operations
ApiClient
AreaService
AuthenticationService
Service to handle authentication
BaseCommandResponse
BusinessUnit
BusinessUnitsService
Service to handle business units api requests
ChangePasswordResponse
CreateEnrollmentResponse
DateOnlyConverter
Department
DepartmentsService
A repository that handles departments api requests
Depot
DepotsService
Service to handle depots api requests
DepotType
DepotTypesService
A repository to handle depot types api requests
EnrollmentItem
EnrollmentsService
Service to handle enrollments api requests
InternalArea
IslandGroup
LoginResponse
MCColor
MCModel
Order
OrderForPrinting
OrdersService
Orders service
PaginatedResponse<T>
PasswordRequestModel
Position
PositionsService
Service to handle positions api requests
QrCode
QrCodesService
Service to handle qr codes api requests
RegionalArea
ReportService
Service to handle roles api requests
RolesService
Service to handle roles api requests
ScannedQrCode
ScannedQrCodeHistory
ScannedQrCodesService
Service to handle scanned qr codes api requests
ScannedQrCodeTag
ScannedQrcodeTagService
Service to handle Tags api requests
Signature
Status
StatusesService
Service to handle statuses api requests
Sticker
StickerService
Service to handle sticker api requests
StickerTransaction
Tag
TagCategory
TagsService
Service to handle Tags api requests
UploadValidators
User
UserRole
UsersService
Service to handle users api requests

Extensions

BaseCommandResponsePatterns on BaseCommandResponse
Adds pattern-matching-related methods to BaseCommandResponse.
BusinessUnitPatterns on BusinessUnit
Adds pattern-matching-related methods to BusinessUnit.
ChangePasswordResponsePatterns on ChangePasswordResponse
Adds pattern-matching-related methods to ChangePasswordResponse.
CreateEnrollmentResponsePatterns on CreateEnrollmentResponse
Adds pattern-matching-related methods to CreateEnrollmentResponse.
DepartmentPatterns on Department
Adds pattern-matching-related methods to Department.
DepotPatterns on Depot
Adds pattern-matching-related methods to Depot.
DepotTypePatterns on DepotType
Adds pattern-matching-related methods to DepotType.
EnrollmentItemPatterns on EnrollmentItem
Adds pattern-matching-related methods to EnrollmentItem.
InternalAreaPatterns on InternalArea
Adds pattern-matching-related methods to InternalArea.
IslandGroupPatterns on IslandGroup
Adds pattern-matching-related methods to IslandGroup.
LoginResponsePatterns on LoginResponse
Adds pattern-matching-related methods to LoginResponse.
MCColorPatterns on MCColor
Adds pattern-matching-related methods to MCColor.
MCModelPatterns on MCModel
Adds pattern-matching-related methods to MCModel.
OrderForPrintingPatterns on OrderForPrinting
Adds pattern-matching-related methods to OrderForPrinting.
OrderPatterns on Order
Adds pattern-matching-related methods to Order.
PaginatedResponsePatterns on PaginatedResponse<T>
Adds pattern-matching-related methods to PaginatedResponse.
PasswordRequestModelPatterns on PasswordRequestModel
Adds pattern-matching-related methods to PasswordRequestModel.
PositionPatterns on Position
Adds pattern-matching-related methods to Position.
QrCodePatterns on QrCode
Adds pattern-matching-related methods to QrCode.
RegionalAreaPatterns on RegionalArea
Adds pattern-matching-related methods to RegionalArea.
ScannedQrCodeHistoryPatterns on ScannedQrCodeHistory
Adds pattern-matching-related methods to ScannedQrCodeHistory.
ScannedQrCodePatterns on ScannedQrCode
Adds pattern-matching-related methods to ScannedQrCode.
ScannedQrCodeTagPatterns on ScannedQrCodeTag
Adds pattern-matching-related methods to ScannedQrCodeTag.
SignaturePatterns on Signature
Adds pattern-matching-related methods to Signature.
StatusPatterns on Status
Adds pattern-matching-related methods to Status.
StickerPatterns on Sticker
Adds pattern-matching-related methods to Sticker.
StickerTransactionPatterns on StickerTransaction
Adds pattern-matching-related methods to StickerTransaction.
TagCategoryPatterns on TagCategory
Adds pattern-matching-related methods to TagCategory.
TagPatterns on Tag
Adds pattern-matching-related methods to Tag.
UploadValidatorsPatterns on UploadValidators
Adds pattern-matching-related methods to UploadValidators.
UserPatterns on User
Adds pattern-matching-related methods to User.
UserRolePatterns on UserRole
Adds pattern-matching-related methods to UserRole.

Functions

deserializeBaseCommandResponse(Map<String, dynamic> data) → BaseCommandResponse
deserializeBusinessUnit(Map<String, dynamic> data) → BusinessUnit
deserializeBusinessUnitList(List data) → List<BusinessUnit>
deserializeChangePasswordResponse(Map<String, dynamic> data) → ChangePasswordResponse
deserializeCreateEnrollmentResponse(Map<String, dynamic> data) → CreateEnrollmentResponse
deserializeDepartment(Map<String, dynamic> data) → Department
deserializeDepartmentList(List data) → List<Department>
deserializeDepot(Map<String, dynamic> data) → Depot
deserializeDepotList(List data) → List<Depot>
deserializeDepotType(Map<String, dynamic> data) → DepotType
deserializeDepotTypeList(List data) → List<DepotType>
deserializeInternalAreaList(List data) → List<InternalArea>
deserializeIslandGroupList(List data) → List<IslandGroup>
deserializeLoginResponse(Map<String, dynamic> data) → LoginResponse
deserializeOrder(Map<String, dynamic> data) → Order
deserializeOrderForPrintingList(List data) → List<OrderForPrinting>
deserializeOrderList(List data) → List<Order>
deserializePaginatedResponseOrder(Map<String, dynamic> data) → PaginatedResponse<Order>
deserializePaginatedResponseScannedQrCode(Map<String, dynamic> data) → PaginatedResponse<ScannedQrCode>
deserializePaginatedResponseScannedQrCodeHistory(Map<String, dynamic> data) → PaginatedResponse<ScannedQrCodeHistory>
deserializePaginatedResponseTag(Map<String, dynamic> data) → PaginatedResponse<Tag>
deserializePosition(Map<String, dynamic> data) → Position
deserializePositionList(List data) → List<Position>
deserializeQrCode(Map<String, dynamic> data) → QrCode
deserializeQrCodeList(List data) → List<QrCode>
deserializeRegionalAreaList(List data) → List<RegionalArea>
deserializeScannedQrCode(Map<String, dynamic> data) → ScannedQrCode
deserializeScannedQrCodeList(List data) → List<ScannedQrCode>
deserializeSignature(Map<String, dynamic> data) → Signature
deserializeStatus(Map<String, dynamic> data) → Status
deserializeStatusList(List data) → List<Status>
deserializeStickerTransactionList(List data) → List<StickerTransaction>
deserializeTag(Map<String, dynamic> data) → Tag
deserializeTagCategoryList(List data) → List<TagCategory>
deserializeTagList(List data) → List<Tag>
deserializeUploadValidators(Map<String, dynamic> data) → UploadValidators
deserializeUser(Map<String, dynamic> data) → User
deserializeUserList(List data) → List<User>
deserializeUserRole(Map<String, dynamic> data) → UserRole
deserializeUserRoleList(List data) → List<UserRole>
serializeDepot(Depot depot) → Map<String, dynamic>
serializeEnrollmentItemList(List<EnrollmentItem> data) → List<Map<String, dynamic>>
serializeOrder(Order order) → Map<String, dynamic>
serializeQrCode(QrCode qrCode) → Map<String, dynamic>
serializeScannedQrCodeList(List<ScannedQrCode> data) → List<Map<String, dynamic>>
serializeUser(User user) → Map<String, dynamic>
setupMotocodeLocator({required String baseUrl, required StackedLocator locator, required Dio dio, String? environment, EnvironmentFilter? environmentFilter, FirebaseCrashlytics? crashlytics}) → Future<void>
Register all the models and services with the locator Sets the base url, sample https://localhost:7000