copy method

ApplyAuthFormModel copy({
  1. String? phoneNumber,
  2. bool? isPrivacyAgreed,
  3. bool? isServiceAgreed,
  4. bool? enabled,
  5. bool? pending,
})

Implementation

ApplyAuthFormModel copy({
  String? phoneNumber,
  bool? isPrivacyAgreed,
  bool? isServiceAgreed,
  bool? enabled,
  bool? pending,
}) {
  return ApplyAuthFormModel(
    phoneNumber: phoneNumber ?? this.phoneNumber,
    isPrivacyAgreed: isPrivacyAgreed ?? this.isPrivacyAgreed,
    isServiceAgreed: isServiceAgreed ?? this.isServiceAgreed,
    enabled: enabled ?? this.enabled,
    pending: pending ?? this.pending,
  );
}