copyWith method

  1. @override
FollowRequestModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. MemberPublicInfoModel? follower,
  4. MemberPublicInfoModel? followed,
  5. 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,
  );
}