copyWith method

FollowingEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? followerId,
  4. String? followedId,
})

Implementation

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