copyWith method

FollowRequestEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? followerId,
  4. String? followedId,
  5. int? status,
})

Implementation

FollowRequestEntity copyWith({
  String? documentID,
  String? appId,
  String? followerId,
  String? followedId,
  int? status,
}) {
  return FollowRequestEntity(
    appId: appId ?? this.appId,
    followerId: followerId ?? this.followerId,
    followedId: followedId ?? this.followedId,
    status: status ?? this.status,
  );
}