WarningService class

Constructors

WarningService({required ApetitoProductApiClientContext context})

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

getProductsByWarningId(String id) Future<List<Product>>
Gets all the products of the warning that matches an id.
getProductWarningsByWarningId(String id) Future<List<ProductWarning>>
Gets all the product warning information of the warning that matches an id.
getWarningById(String id) Future<Warning>
Gets the warning that matches an id.
getWarnings() Future<List<Warning>>
Gets all the warnings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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