PMD_Kouvshinoff_PIbd_31/lib/data/repositories/api_interface.dart

9 lines
228 B
Dart

import '../../domain/models/card.dart';
import '../../domain/models/home.dart';
typedef OnErrorCallback = void Function(String? error);
abstract class ApiInterface {
Future<HomeData?> loadData({OnErrorCallback? onError});
}