ChannelService class
Constructors
- ChannelService({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
-
getChannelById(
int id) → Future< Channel> - Gets the channel that matches an id.
-
getChannels(
) → Future< List< Channel> > - Gets all the channels.
-
getNodesByChannelId(
int id) → Future< List< Node> > - Gets all the nodes of the channel that matches an id.
-
getProductsByChannelId(
int id) → Future< List< Product> > - Gets all the products of the channel that matches an id.
-
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