pmu_flutter/lec5/lib/data/repository/api_interface.dart

8 lines
166 B
Dart
Raw Permalink Normal View History

2024-10-11 19:12:12 +04:00
import 'package:test_app/domain/home.dart';
typedef OnErrorCallback = void Function(String? error);
abstract class ApiInterface {
Future<HomeData?> loadData();
}