ProductBaseUrls class

A singleton class that provides base URLs for product-related HTTP requests.

Inheritance

Constructors

ProductBaseUrls({String addPruductUrl = 'v1/products', String editPruductUrl = 'v1/products'})
Constructor with optional parameters for URLs

Properties

addPruductUrl ↔ String
URL for adding a product
getter/setter pair
editPruductUrl ↔ String
URL for editing a product
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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