copyWith method

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