Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej-Hlatky committed Nov 17, 2024
1 parent a586e8b commit ebb80d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions lib/bloc/present_signed_document_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ class PresentSignedDocumentCubit extends Cubit<PresentSignedDocumentState> {

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()
Expand Down
7 changes: 2 additions & 5 deletions lib/bloc/present_signed_document_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -59,9 +61,4 @@ class PresentSignedLocalDocumentSuccessState
class PresentSignedRemoteDocumentSuccessState
extends PresentSignedDocumentState {
const PresentSignedRemoteDocumentSuccessState();

@override
String toString() {
return "$runtimeType()";
}
}

0 comments on commit ebb80d0

Please sign in to comment.