check null safety
This commit is contained in:
@@ -3,17 +3,16 @@ import 'package:fcs/domain/entities/auth_result.dart';
|
||||
import 'package:fcs/domain/entities/connectivity.dart';
|
||||
import 'package:fcs/domain/entities/setting.dart';
|
||||
import 'package:fcs/domain/entities/user.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'auth_service.dart';
|
||||
|
||||
class AuthServiceImp implements AuthService {
|
||||
AuthServiceImp({
|
||||
@required this.authFb,
|
||||
@required this.connectivity,
|
||||
required this.authFb,
|
||||
required this.connectivity,
|
||||
});
|
||||
|
||||
final Connectivity connectivity;
|
||||
final Connectivity? connectivity;
|
||||
final AuthFb authFb;
|
||||
|
||||
@override
|
||||
@@ -32,7 +31,7 @@ class AuthServiceImp implements AuthService {
|
||||
}
|
||||
|
||||
@override
|
||||
Stream<User> getUserStream() {
|
||||
Stream<User?> getUserStream() {
|
||||
return authFb.user();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user