CommentService class

Constructors

CommentService.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 UCommentCreateParams p, required dynamic onOk(UResponse<UCommentResponse> 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 UCommentReadParams p, required dynamic onOk(UResponse<List<UCommentResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readById({required UIdParams p, required dynamic onOk(UResponse<UCommentResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readProductCommentCount({required UIdParams p, required dynamic onOk(UResponse<int> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readUserCommentCount({required UIdParams p, required dynamic onOk(UResponse<int> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
toString() String
A string representation of this object.
inherited
update({required UCommentUpdateParams p, required dynamic onOk(UResponse<UCommentResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void

Operators

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