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/ImaginiAPIRepository.dart

13 lines
342 B
Dart
Raw Normal View History

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