isDefault property

bool isDefault

Gets if this is an invalid or default authorization instance without username or password fields.

Implementation

bool get isDefault => isNullOrEmpty(userName) || isNullOrEmpty(password);