CategoryService class

Constructors

CategoryService.new({required String apiKey, required String? token, required UHttpClient httpClient})

Properties

apiKey String
final
hashCode int
The hash code for this object.
no setterinherited
httpClient UHttpClient
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
final

Methods

create({required UCategoryCreateParams p, required dynamic onOk(UResponse<UCategoryResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
delete({required UIdParams p, required dynamic onOk(UResponse r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({required UCategoryReadParams p, required dynamic onOk(UResponse<List<UCategoryResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readById({required UIdParams p, required dynamic onOk(UResponse<UCategoryResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
toString() String
A string representation of this object.
inherited
update({required UCategoryUpdateParams p, required dynamic onOk(UResponse<UCategoryResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void

Operators

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