sign method

dynamic sign({
  1. List<EFile>? files,
  2. StreamController<List<SignedFile>>? onFinish,
})

Implementation

sign(
    {List<EFile>? files,
    StreamController<List<SignedFile>>? onFinish}) async {
  await initDependencies();
  final bloc = getIt<StepsBloc>();
  bloc.files = files ?? [];
  if (onFinish != null) bloc.addEventListener(onFinish);

  await _showModal();
}