File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,8 @@ class SplitioWeb extends SplitioPlatform {
678678 bucketingKey: bucketingKey,
679679 );
680680
681- return client.flush ().toDart;
681+ // `then` chain to ensure the return type is `Future<void>`
682+ return client.flush ().toDart.then <void >((_) {});
682683 }
683684
684685 @override
@@ -689,7 +690,7 @@ class SplitioWeb extends SplitioPlatform {
689690 bucketingKey: bucketingKey,
690691 );
691692
692- return client.destroy ().toDart;
693+ return client.destroy ().toDart. then < void >((_) {}) ;
693694 }
694695
695696 @override
Original file line number Diff line number Diff line change @@ -675,7 +675,6 @@ void main() {
675675 }));
676676 });
677677
678- // @TODO validate full config with pluggable Browser SDK modules
679678 test ('init with config: full config' , () async {
680679 SplitioWeb _platform = SplitioWeb ();
681680
You can’t perform that action at this time.
0 commit comments