FeedbackService class Null safety
Constructors
- FeedbackService(FirebaseFirestore _firestore, {String? feedbackCollectionPath = 'feedbacks'})
- FeedbackService is the main service to submit the user feedbacks to the Cloud Firestore.
Properties
- feedbackCollectionPath → String?
-
feedbackCollectionPath is a optional parameter to set the default parent
directory of storing the User Feedbacks in Firebase Cloud Firestore.
Default is set to
feedbacks
final - hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadUserFeedbackToFirebase(
{required FeedbackModel feedback, required AndroidDeviceInfo? androidDeviceInfo, required IosDeviceInfo? iosDeviceInfo}) → Future< bool> -
uploadUserFeedbackToFirebase is the function which takes the user feedback
and all the system information and uploads it to the Cloud Firestore.
This function is Platform dependent. Which means it automatically
submits the appropriate system information based on the Platform on
which app is running. Currently supports only
Android
&iOS
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited