@override Widget generate(Context context) { var cmd = 'spawnpoint'; if (entity != null) { cmd += ' $entity'; if (position != null) cmd += ' $position'; } return Command(cmd); }