Pibd-33_Tikhonenkov_Alexey_PMU/lib/data/repositories/api_interface.dart

9 lines
234 B
Dart
Raw Normal View History

2024-12-18 03:01:46 +04:00
import '../../domain/quote.dart';
import '/presentation/home_page/home_page.dart';
2024-12-11 05:09:29 +04:00
typedef OnErrorCallback = void Function(String? error);
abstract class ApiInterface {
Future<List<Quote>?> loadData({OnErrorCallback? onError});
}