copyWith method

Members copyWith({
  1. String? contactId,
  2. String? agentId,
  3. String? fullName,
  4. String? avatar,
  5. String? gender,
  6. String? status,
  7. String? sipUser,
})

Implementation

Members copyWith({
  String? contactId,
  String? agentId,
  String? fullName,
  String? avatar,
  String? gender,
  String? status,
  String? sipUser,
}) =>
    Members(
      contactId: contactId ?? this.contactId,
      agentId: agentId ?? this.agentId,
      fullName: fullName ?? this.fullName,
      avatar: avatar ?? this.avatar,
      gender: gender ?? this.gender,
      status: status ?? this.status,
      sipUser: sipUser ?? this.sipUser,
    );