AtOnboardingResult.error constructor
Create instance with error status
message
The message returned when onboard failed
errorCode
The error code returned when onboard failed
Implementation
factory AtOnboardingResult.error({
String? message,
String? errorCode,
}) {
return AtOnboardingResult._(
status: AtOnboardingResultStatus.error,
message: message,
errorCode: errorCode,
);
}