generate method

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

Implementation

@override
Widget generate(Context context) {
  var res = 'advancement ';
  res += revoke ? 'revoke' : 'grant';
  res += ' ${entity.toString()} $mode $advancement';
  if (criteria != null) res += ' $criteria';
  return Command(res);
}