mirrored_repositories/Sirat-E-Mustaqeem/lib/src/core/util/bloc
part of 'database_bloc.dart';

abstract class DatabaseEvent extends Equatable {
  const DatabaseEvent();
}

class InitDatabase extends DatabaseEvent {
  final BuildContext context;

  InitDatabase(this.context);

  @override
  List<Object> get props => [context];
}

class AddDatabase extends DatabaseEvent {
  final Database db;

  AddDatabase(this.db);

  @override
  List<Object> get props => [db];
}
