copyWith method
Implementation
EmailAccount copyWith({
String? email,
String? name,
}) =>
EmailAccount(
email: email ?? this.email,
name: name ?? this.name,
);
EmailAccount copyWith({
String? email,
String? name,
}) =>
EmailAccount(
email: email ?? this.email,
name: name ?? this.name,
);