generate method

  1. @override
Widget generate(
  1. Context context
)
override

Implementation

@override
Widget generate(Context context) {
  var locations = center.toString().split(' ');
  locations.removeAt(1);

  return Command(
    'spreadplayers ${locations.join(' ')} $distance $maxRange ${maximumHeight == null ? '' : 'under $maximumHeight'} $respectTeams $target',
  );
}