Authentication.basic constructor

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

Creates an Authentication instance that uses a username and password.

Implementation

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