submitKwikFormData method

Future<Result> submitKwikFormData({
  1. required String phone,
  2. required String countryCode,
  3. required String address,
  4. required String name,
  5. required String gender,
  6. required String firstName,
  7. required String lastName,
  8. required String email,
  9. required bool consent,
})

Submit a filled KwikForm.

Parameters mirror the KwikForm fields collected from the user.

Implementation

Future<Result<dynamic>> submitKwikFormData({
  required String phone,
  required String countryCode,
  required String address,
  required String name,
  required String gender,
  required String firstName,
  required String lastName,
  required String email,
  required bool consent,
}) async {
  return await ApiService.submitKwikFormData(
    phone: phone,
    countryCode: countryCode,
    address: address,
    name: name,
    gender: gender,
    firstName: firstName,
    lastName: lastName,
    email: email,
    consent: consent,
  );
}