FeedbackRepository class
Constructors
- FeedbackRepository.new({required FeedbackService feedbackService, required ConfigsService remoteConfigRepo, void onDebugPrint(String)?})
Properties
-
dataListeners
→ List<
void Function(FeedbackRepoResponse)> -
finalinherited
- feedbackService → FeedbackService
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listeners
→ List<
CubitListener< dynamic, ReactorResponse, dynamic> > -
finalinherited
- onDebugPrint → void Function(String)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCounterAndCheck(
String eventName) → void -
should be called when event with
eventName
is caught -
addDataListener(
void listener(FeedbackRepoResponse)) → void -
inherited
-
addListener(
CubitListener< dynamic, ReactorResponse, dynamic> listener) → void -
inherited
-
delayDialog(
) → Future< void> -
getLastData<
T extends ResponseType> () → T? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
provideDataToListeners(
FeedbackRepoResponse data) → void -
inherited
-
removeDataListener(
void listener(FeedbackRepoResponse)) → void -
inherited
-
removeListener(
CubitListener< dynamic, ReactorResponse, dynamic> listener) → void -
inherited
-
resetCounters(
) → dynamic -
sendFeedback(
Map< String, dynamic> feedback) → Future<void> -
setLoading(
{required FeedbackRepoResponse currentData}) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited