userRepository property Null safety

UserRepository userRepository
final

Implementation

final UserRepository userRepository = new UserRepository();