copyWith method

AuthenticationCodeInfo copyWith({
  1. String? phoneNumber,
  2. AuthenticationCodeType? type,
  3. AuthenticationCodeType? nextType,
  4. int? timeout,
})

Implementation

AuthenticationCodeInfo copyWith({
  String? phoneNumber,
  AuthenticationCodeType? type,
  AuthenticationCodeType? nextType,
  int? timeout,
}) =>
    AuthenticationCodeInfo(
      phoneNumber: phoneNumber ?? this.phoneNumber,
      type: type ?? this.type,
      nextType: nextType ?? this.nextType,
      timeout: timeout ?? this.timeout,
    );