refactoring

This commit is contained in:
dahoud
2026-03-31 09:14:47 +00:00
parent 9bfffeeebe
commit 5383df6dcb
200 changed files with 11192 additions and 7063 deletions

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}

View File

@@ -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>>);
}