FollowService class

Constructors

FollowService.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

follow({required UFollowParams p, required dynamic onOk(UResponse r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
isFollowingCategory({required UFollowParams p, required dynamic onOk(UResponse<bool> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
isFollowingProduct({required UFollowParams p, required dynamic onOk(UResponse<bool> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
isFollowingUser({required UFollowParams p, required dynamic onOk(UResponse<bool> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFollowedCategories({required UIdParams p, required dynamic onOk(UResponse<List<UCategoryResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readFollowedProducts({required UIdParams p, required dynamic onOk(UResponse<List<UProductResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readFollowedUsers({required UIdParams p, required dynamic onOk(UResponse<List<UUserResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readFollowerFollowingCount({required UIdParams p, required dynamic onOk(UResponse<UFollowerFollowingCountResponse> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
readFollowers({required UIdParams p, required dynamic onOk(UResponse<List<UUserResponse>> r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void
toString() String
A string representation of this object.
inherited
unfollow({required UFollowParams p, required dynamic onOk(UResponse r), required dynamic onError(UResponse e), dynamic onException(Exception)?}) → void

Operators

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