copyWith method

JBTextFieldState copyWith({
  1. bool? enabled,
  2. bool? obscureText,
})

Implementation

JBTextFieldState copyWith({bool? enabled, bool? obscureText}) {
  return JBTextFieldState(
    enabled: enabled ?? this.enabled,
    obscureText: obscureText ?? this.obscureText,
  );
}