GitHubUser constructor Null safety

GitHubUser(
  1. {required int id,
  2. required String login,
  3. required GitHubUserType type,
  4. String? avatarUrl,
  5. required String href}
)

Implementation

GitHubUser(
    {required this.id,
    required this.login,
    required this.type,
    this.avatarUrl,
    required this.href});