copyWithWrapped method

ChapterContentBlockResponseModel copyWithWrapped({
  1. Wrapped<String>? blockId,
  2. Wrapped<List<Object>>? nodes,
})

Implementation

ChapterContentBlockResponseModel copyWithWrapped(
    {Wrapped<String>? blockId, Wrapped<List<Object>>? nodes}) {
  return ChapterContentBlockResponseModel(
      blockId: (blockId != null ? blockId.value : this.blockId),
      nodes: (nodes != null ? nodes.value : this.nodes));
}