import 'package:flutter_bloc/flutter_bloc.dart';

class DataCallbackPkwtCubit extends Cubit<List?> {
  DataCallbackPkwtCubit() : super(null);

  void updateDataCallback(List value) {
    emit(value);
  }

  List? getDataCallback() {
    final data = state;
    emit([false]);
    return data;
  }
}
