copyWith method
ChatMemberInfoModel
copyWith({
- String? documentID,
- String? authorId,
- String? appId,
- String? roomId,
- DateTime? timestamp,
- ChatMemberInfoAccessibleByGroup? accessibleByGroup,
- List<
String> ? accessibleByMembers, - List<
String> ? readAccess,
override
Implementation
@override
ChatMemberInfoModel copyWith({
String? documentID,
String? authorId,
String? appId,
String? roomId,
DateTime? timestamp,
ChatMemberInfoAccessibleByGroup? accessibleByGroup,
List<String>? accessibleByMembers,
List<String>? readAccess,
}) {
return ChatMemberInfoModel(
documentID: documentID ?? this.documentID,
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,
);
}