copyWith method
Copy model with modified properties.
Properties:
user_id: User identifieroffset: The number of photos to skip; must be non-negativelimit: The maximum number of photos to be returned; up to 100
Implementation
GetUserProfilePhotos copyWith({
int? userId,
int? offset,
int? limit,
}) =>
GetUserProfilePhotos(
userId: userId ?? this.userId,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
);