copyWith method

AuthenticationCodeInfo copyWith({
  1. String? phoneNumber,
  2. AuthenticationCodeType? type,
  3. AuthenticationCodeType? nextType,
  4. int? timeout,
  5. dynamic extra,
  6. 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,
    );