toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'phoneNumber': phoneNumber,
    'phoneInputType': phoneInputType,  // No conversion needed
    'otpInputType': otpInputType,      // No conversion needed
    'userId': userId,
    'userEventType': userEventType,    // No conversion needed
    'merchantId': merchantId,
    'additionalAttributes': additionalAttributes,
  };
}