copyWith method

EmailAccount copyWith({
  1. String? email,
  2. String? name,
})

Implementation

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