copyWith method

ChatMemberInfoEntity copyWith({
  1. String? documentID,
  2. String? authorId,
  3. String? appId,
  4. String? roomId,
  5. Object? timestamp,
  6. int? accessibleByGroup,
  7. List<String>? accessibleByMembers,
  8. List<String>? readAccess,
})

Implementation

ChatMemberInfoEntity copyWith({
  String? documentID,
  String? authorId,
  String? appId,
  String? roomId,
  Object? timestamp,
  int? accessibleByGroup,
  List<String>? accessibleByMembers,
  List<String>? readAccess,
}) {
  return ChatMemberInfoEntity(
    authorId: authorId ?? this.authorId,
    appId: appId ?? this.appId,
    roomId: roomId ?? this.roomId,
    timestamp: timestamp ?? this.timestamp,
    accessibleByGroup: accessibleByGroup ?? this.accessibleByGroup,
    accessibleByMembers: accessibleByMembers ?? this.accessibleByMembers,
    readAccess: readAccess ?? this.readAccess,
  );
}