copyWith method

ContentCreateContainer copyWith({
  1. dynamic id,
  2. String? type,
})

Implementation

ContentCreateContainer copyWith({dynamic id, String? type}) {
  return ContentCreateContainer(
    id: id ?? this.id,
    type: type ?? this.type,
  );
}