BusinessUnitsService class
Service to handle business units api requests
Constructors
- BusinessUnitsService.new({required ApiClient apiClient, FirebaseCrashlytics? crashlytics})
- Constructor for the BusinessUnitsService
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBusinessUnit(
BusinessUnit data) → Future< void> - Create a business unit
-
getBusinessUnit(
int businessUnitId) → Future< BusinessUnit> - Get a business unit by id
-
getBusinessUnits(
) → Future< List< BusinessUnit> > - Get all business units
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBusinessUnit(
BusinessUnit data) → Future< void> - Update a business unit
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited