when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult parametersAssigned(
- String apiKey,
- Function onSuccess,
- BuildContext routeContext,
- bool formVisible,
- String accessToken,
- required TResult assignDocumentAndNationality(),
- required TResult frontIdImageCaptured(
- String? frontImage
- required TResult backIdImageCaptured(
- String? backImage
- required TResult sideIdImageCaptured(
- String? sideImage
- required TResult verifyId(),
- required TResult resetStep(),
- required TResult setLanguage(
- String language
- required TResult faceImageCaptured(
- String? faceImage
- required TResult faceVideoCaptured(
- String faceVideo
- required TResult verifyFace(),
- required TResult imageCapturing(),
- required TResult livelinesspassed(),
- required TResult signupPressed(
- String email,
- String firstName,
- String middleName,
- String lastName,
- String phoneNumber,
- String dobDay,
- String dobMonth,
- String dobYear,
- String address,
- String idNumber,
- String expiryDateDay,
- String expiryDateMonth,
- String expiryDateYear,
- String addressJa,
- String addressEn,
- String address1Ja,
- String address2Ja,
- String address3Ja,
- String address1En,
- String address2En,
- String address3En,
- String postalCode,
- String? visaStatus,
- String? gender,
- String? ptsDay,
- String? ptsMonth,
- String? ptsYear,
- String? ptlDay,
- String? ptlMonth,
- String? ptlYear,
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(String apiKey, Function onSuccess,
BuildContext routeContext, bool formVisible, String accessToken)
parametersAssigned,
required TResult Function(String documentType, String nationality)
assignDocumentAndNationality,
required TResult Function(String? frontImage) frontIdImageCaptured,
required TResult Function(String? backImage) backIdImageCaptured,
required TResult Function(String? sideImage) sideIdImageCaptured,
required TResult Function() verifyId,
required TResult Function() resetStep,
required TResult Function(String language) setLanguage,
required TResult Function(String? faceImage) faceImageCaptured,
required TResult Function(String faceVideo) faceVideoCaptured,
required TResult Function() verifyFace,
required TResult Function() imageCapturing,
required TResult Function() livelinesspassed,
required TResult Function(
String email,
String firstName,
String middleName,
String lastName,
String phoneNumber,
String dobDay,
String dobMonth,
String dobYear,
String address,
String idNumber,
String expiryDateDay,
String expiryDateMonth,
String expiryDateYear,
String addressJa,
String addressEn,
String address1Ja,
String address2Ja,
String address3Ja,
String address1En,
String address2En,
String address3En,
String postalCode,
String? visaStatus,
String? gender,
String? ptsDay,
String? ptsMonth,
String? ptsYear,
String? ptlDay,
String? ptlMonth,
String? ptlYear)
signupPressed,
}) =>
throw _privateConstructorUsedError;