Authentication.basic constructor Null safety

Authentication.basic(
  1. String? username,
  2. String? password
)

Creates an Authentication instance that uses a username and password.

Implementation

Authentication.basic(this.username, this.password) : token = null;