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