generate method
Implementation
@override
Widget generate(Context context) {
var n = IndexedFile.getIndexedAndIncrease(name).toString();
if (n == '0') n = '';
if (!name.contains('.json')) n += '.json';
return JsonFile(
'recipes/$name$n',
toJson(),
);
}