import 'package:aves/services/report_service.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; class FakeReportService extends ReportService { @override Future init() => SynchronousFuture(null); @override bool get isCollectionEnabled => false; @override Future setCollectionEnabled(bool enabled) => SynchronousFuture(null); @override Future log(String message) => SynchronousFuture(null); @override Future setCustomKey(String key, Object value) => SynchronousFuture(null); @override Future setCustomKeys(Map map) => SynchronousFuture(null); @override Future recordError(exception, StackTrace? stack) => SynchronousFuture(null); @override Future recordFlutterError(FlutterErrorDetails flutterErrorDetails) => SynchronousFuture(null); }