GdprResult.error constructor

GdprResult.error(
  1. FormError? error
)

Implementation

GdprResult.error(FormError? error) {
  if (error != null) {
    errorCode = error.errorCode;
    errorMessage = error.message;
  }
}