copyWith method
Implementation
SairDaContaState copyWith({
bool? busy,
String? erro,
bool limparErro = false,
}) => SairDaContaState(
busy: busy ?? this.busy,
erro: limparErro ? null : (erro ?? this.erro),
);
SairDaContaState copyWith({
bool? busy,
String? erro,
bool limparErro = false,
}) => SairDaContaState(
busy: busy ?? this.busy,
erro: limparErro ? null : (erro ?? this.erro),
);