isBasicAuth property

bool isBasicAuth

Check if basic authentication should be used

Implementation

bool get isBasicAuth =>
    username.isNotEmpty == true && password.isNotEmpty == true;