AuthenticationRepository constructor Null safety

AuthenticationRepository(
  1. {required IRedditClient reddit}
)

Create a new AuthenticationRepository using the given reddit instance.

Implementation

AuthenticationRepository({
  required this.reddit,
})
{
  _stateStream.add(reddit.status);
}