NodeService class

Constructors

NodeService({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

getChannelsByNodeId(int id) Future<List<Channel>>
Gets all the channels of the node that matches an id.
getNodeById(int id) Future<Node>
Gets the node that matches an id.
getNodes() Future<List<Node>>
Gets all the nodes.
getProductsByNodeId(int id) Future<List<Product>>
Gets all the products of the node 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