enabled property

bool enabled

enabled

Implementation

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