generate method

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

Implementation

@override
Widget generate(Context context) {
  return RawFile(
    '$path.json',
    useGson
        ? gsonEncode(contents ?? contentsList)
        : jsonEncode(contents ?? contentsList),
    inheritFolder: inheritFolder,
  );
}