copyWith method

Client copyWith({
  1. String? phone,
  2. String? name,
  3. String? email,
})

Implementation

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