NetworkServices class

Real implementation of network services using HTTP requests.

This class uses the DuckCanvasRepository mixin to provide actual network functionality for fetching canvas data from a remote API.

Implemented types
Mixed-in types

Constructors

NetworkServices(String _baseUrl)
Creates a new NetworkServices instance.

Properties

baseUrl String
The base URL for the API endpoints.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
The HTTP client used for making network requests.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDuckCanvasData(String canvasId) Future<List<DuckComponent>>
Retrieves the canvas data for the given canvas ID.
inherited
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