PMU/lib/data/repositories/api_interface.dart
2024-12-18 13:42:27 +04:00

7 lines
208 B
Dart

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