enabled property

bool get enabled

enabled

Implementation

bool get enabled =>
    (host?.isNotEmpty ?? false) && //
    (port != null && port! > 0);