generateCubit static method
Implementation
static Future<void> generateCubit(
String name, {
bool hydrated = false,
bool force = false,
}) async {
await generateState(name, force: force, type: 'cubit');
await generateCode(
name,
stub: hydrated ? 'hydrated_cubit.stub' : 'cubit.stub',
path: AppEnum.blocsDir,
suffix: 'cubit',
force: force,
);
}