copyWith method
FollowRequestModel
copyWith({
- String? documentID,
- String? appId,
- MemberPublicInfoModel? follower,
- MemberPublicInfoModel? followed,
- FollowRequestStatus? status,
override
Implementation
@override
FollowRequestModel copyWith({
String? documentID,
String? appId,
MemberPublicInfoModel? follower,
MemberPublicInfoModel? followed,
FollowRequestStatus? status,
}) {
return FollowRequestModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
follower: follower ?? this.follower,
followed: followed ?? this.followed,
status: status ?? this.status,
);
}