ApiService class
Constructors
Properties
- apiKey → String
-
no setter
- apiUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userService → UserService
-
final
Methods
-
createComment(
String requestId, String text) → Future< CommentModel> -
createRequest(
String name, String description, {String? email}) → Future< void> -
downvote(
String requestId) → Future< void> -
fetchComments(
String requestId) → Future< List< CommentModel> > -
fetchItems(
) → Future< Map< String, List< >FeatureModel> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUser(
{required String email, Map< String, dynamic> ? userMeta}) → Future<void> -
upvote(
String requestId) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited