diff --git a/lib/bloc/present_signed_document_cubit.dart b/lib/bloc/present_signed_document_cubit.dart index 06d4160..a394a9a 100644 --- a/lib/bloc/present_signed_document_cubit.dart +++ b/lib/bloc/present_signed_document_cubit.dart @@ -32,11 +32,11 @@ class PresentSignedDocumentCubit extends Cubit { final SignDocumentResponseBody signedDocument; - PresentSignedDocumentCubit( - {required AppService appService, - @factoryParam required this.signedDocument, - @factoryParam required DocumentSigningType signingType}) - : _appService = appService, + PresentSignedDocumentCubit({ + required AppService appService, + @factoryParam required this.signedDocument, + @factoryParam required DocumentSigningType signingType, + }) : _appService = appService, super( signingType == DocumentSigningType.local ? const PresentSignedDocumentInitialState() diff --git a/lib/bloc/present_signed_document_state.dart b/lib/bloc/present_signed_document_state.dart index b3cdfc7..3a7b12c 100644 --- a/lib/bloc/present_signed_document_state.dart +++ b/lib/bloc/present_signed_document_state.dart @@ -2,6 +2,8 @@ import 'dart:io' show File; import 'package:flutter/foundation.dart'; +import 'present_signed_document_cubit.dart'; + /// State for [PresentSignedDocumentCubit]. @immutable sealed class PresentSignedDocumentState { @@ -59,9 +61,4 @@ class PresentSignedLocalDocumentSuccessState class PresentSignedRemoteDocumentSuccessState extends PresentSignedDocumentState { const PresentSignedRemoteDocumentSuccessState(); - - @override - String toString() { - return "$runtimeType()"; - } }