12 lines
267 B
Dart
12 lines
267 B
Dart
import 'package:leonteva_pmu/domain/models/home.dart';
|
|
|
|
typedef OnErrorCallback = void Function(String? error);
|
|
|
|
abstract class ApiInterface {
|
|
Future<HomeData?> loadData({
|
|
OnErrorCallback? onError,
|
|
String? q,
|
|
int page = 1,
|
|
int pageSize = 25,
|
|
});
|
|
} |