Pibd-33_Tikhonenkov_Alexey_PMU/lib/data/repositories/api_interface.dart
2024-12-18 03:01:46 +04:00

9 lines
234 B
Dart

import '../../domain/quote.dart';
import '/presentation/home_page/home_page.dart';
typedef OnErrorCallback = void Function(String? error);
abstract class ApiInterface {
Future<List<Quote>?> loadData({OnErrorCallback? onError});
}