copyWith method

SendPhoneNumberConfirmationCode copyWith({
  1. String? hash,
  2. String? phoneNumber,
  3. PhoneNumberAuthenticationSettings? settings,
})

Implementation

SendPhoneNumberConfirmationCode copyWith({
  String? hash,
  String? phoneNumber,
  PhoneNumberAuthenticationSettings? settings,
}) =>
    SendPhoneNumberConfirmationCode(
      hash: hash ?? this.hash,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      settings: settings ?? this.settings,
    );