copyWith method
AuthenticationCodeInfo
copyWith({
- String? phoneNumber,
- AuthenticationCodeType? type,
- AuthenticationCodeType? nextType,
- int? timeout,
- dynamic extra,
- int? clientId,
Implementation
AuthenticationCodeInfo copyWith({
String? phoneNumber,
AuthenticationCodeType? type,
AuthenticationCodeType? nextType,
int? timeout,
dynamic extra,
int? clientId,
}) => AuthenticationCodeInfo(
phoneNumber: phoneNumber ?? this.phoneNumber,
type: type ?? this.type,
nextType: nextType ?? this.nextType,
timeout: timeout ?? this.timeout,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);