DepotsService class

Service to handle depots api requests

Constructors

DepotsService.new({required ApiClient apiClient, FirebaseCrashlytics? crashlytics})
Constructor for the DepotsService

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

createDepot(Depot data) Future<void>
Create a depot
getDepot(int depotId) Future<Depot>
Get a depot by id
getDepots({String? clusterOrRegion}) Future<List<Depot>>
Get all depots
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateDepot(Depot data) Future<void>
Update a depot

Operators

operator ==(Object other) bool
The equality operator.
inherited