13 lines
342 B
Dart
13 lines
342 B
Dart
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));
|
|
}
|
|
}
|