label method

String label(
  1. BuildContext context
)

Display name; "Auto-select" for the automatic choice.

Implementation

String label(BuildContext context) => isAuto && name.isEmpty ? NmNetwork.l10n(context).autoSelect : name;