feature static method

FileModel feature(
  1. String? name, {
  2. String? path,
  3. String? folderName,
  4. bool wrapperFolder = false,
})

Implementation

static FileModel feature(
  String? name, {
  String? path,
  String? folderName,
  bool wrapperFolder = false,
}) {
  return FileModel(
    name: name,
    path: Structure.getPathWithName(
      path ?? '',
      ReCase(name!).snakeCase,
      folderName: folderName,
      createWithWrappedFolder: wrapperFolder,
    ),
  );
}