refactoring
This commit is contained in:
@@ -286,4 +286,35 @@ class MockIEvenementRepository extends _i1.Mock
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
|
||||
@override
|
||||
_i5.Future<void> submitFeedback({
|
||||
required String? evenementId,
|
||||
required int? note,
|
||||
String? commentaire,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#submitFeedback,
|
||||
[],
|
||||
{
|
||||
#evenementId: evenementId,
|
||||
#note: note,
|
||||
#commentaire: commentaire,
|
||||
},
|
||||
),
|
||||
returnValue: _i5.Future<void>.value(),
|
||||
returnValueForMissingStub: _i5.Future<void>.value(),
|
||||
) as _i5.Future<void>);
|
||||
|
||||
@override
|
||||
_i5.Future<Map<String, dynamic>> getFeedbacks(String? evenementId) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getFeedbacks,
|
||||
[evenementId],
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user