ForumService class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCommentCreate ↔ (dynamic Function(Comment)?)
-
getter/setter pair
- onCommentDelete ↔ (dynamic Function(Comment)?)
-
getter/setter pair
- onCommentUpdate ↔ (dynamic Function(Comment)?)
-
getter/setter pair
- onPostCreate ↔ (dynamic Function(Post)?)
-
getter/setter pair
- onPostDelete ↔ (dynamic Function(Post)?)
-
getter/setter pair
- onPostUpdate ↔ (dynamic Function(Post)?)
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
{dynamic onPostCreate(Post post)?, dynamic onPostUpdate(Post post)?, dynamic onPostDelete(Post post)?, dynamic onCommentCreate(Comment comment)?, dynamic onCommentUpdate(Comment comment)?, dynamic onCommentDelete(Comment comment)?}) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showCommentCreateScreen(
{required BuildContext context, required Post post, Comment? parent, bool? showUploadDialog, bool? focusOnTextField}) → Future< bool?> - Returns true if comment is created or updated.
-
showCommentUpdateScreen(
{required BuildContext context, required Comment comment, bool? showUploadDialog, bool? focusOnTextField}) → Future< bool?> - Returns true if comment is created or updated.
-
showPostCreateScreen(
{required BuildContext context, required String category}) → Future - Show post create screen when the user taps on the post creation button
-
showPostUpdateScreen(
{required BuildContext context, required Post post}) → Future -
showPostViewScreen(
{required BuildContext context, required Post post}) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ForumService
-
no setter