copyWith method

VerifyOtpResponseModel copyWith({
  1. num? success,
  2. String? userId,
  3. String? contactNo,
})

Implementation

VerifyOtpResponseModel copyWith({  num? success,
  String? userId,
  String? contactNo,
}) => VerifyOtpResponseModel(  success: success ?? _success,
  userId: userId ?? _userId,
  contactNo: contactNo ?? _contactNo,
);