Authorization constructor

Authorization({
  1. AuthType type = AuthType.none,
  2. String value = '',
})

Creates an instance of Authorization with the given type and value.

By default, the type is set to AuthType.none and the value is an empty string.

Implementation

Authorization({
  this.type = AuthType.none,
  this.value = '',
});