mirrored_repositories/note_keep_up/lib/core/util
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../features/presentation/blocs/blocs.dart';
import '../../core.dart';

abstract class AppFunction {
  static Future onRefresh(BuildContext context) async {
    BlocProvider.of<NoteBloc>(context).add(
      const LoadNotes(drawerSectionView: DrawerSectionView.home),
    );
  }
}
