copyWith method

ContentRestrictionArray copyWith({
  1. List<ContentRestriction>? results,
  2. int? start,
  3. int? limit,
  4. int? size,
  5. String? restrictionsHash,
  6. GenericLinks? links,
})

Implementation

ContentRestrictionArray copyWith(
    {List<ContentRestriction>? results,
    int? start,
    int? limit,
    int? size,
    String? restrictionsHash,
    GenericLinks? links}) {
  return ContentRestrictionArray(
    results: results ?? this.results,
    start: start ?? this.start,
    limit: limit ?? this.limit,
    size: size ?? this.size,
    restrictionsHash: restrictionsHash ?? this.restrictionsHash,
    links: links ?? this.links,
  );
}