This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/web_native/lib/api/imagini_api_repository.dart

13 lines
344 B
Dart

import 'package:imagini/api/api_provider.dart';
import 'package:imagini/models/api/response/login_response.dart';
class ImaginiAPIRepository {
APIProvider _apiProvider;
ImaginiAPIRepository(this._apiProvider);
Stream<LoginResponse> login(String user, password) {
return Stream.fromFuture(_apiProvider.login(user, password));
}
}