readDeviceUsername method

String readDeviceUsername({
  1. String? description,
})

Implementation

String readDeviceUsername({String? description}) {
  if (description != null) {
    logger.info(description);
    logger.spaces();
  }

  final String username = input('Username:');

  logger.spaces();

  return username;
}