generate method

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

Implementation

@override
Widget generate(Context context) {
  return Command(
    'summon $type $location ${gson.encode(
      getNbt(false),
    )}',
  );
}