copyWith method

ActionEntity copyWith({
  1. String? id,
  2. String? type,
  3. String? group,
  4. ID? cubitID,
  5. ID? stateID,
  6. ID? variableID,
  7. String? table,
  8. String? select,
  9. int? limit,
  10. int? offset,
  11. String? orderBy,
  12. bool? isCount,
  13. List<SupasetFilterEntity>? filters,
})

Implementation

ActionEntity copyWith({
  String? id,
  String? type,
  String? group,
  ID? cubitID,
  ID? stateID,
  ID? variableID,
  String? table,
  String? select,
  int? limit,
  int? offset,
  String? orderBy,
  bool? isCount,
  List<SupasetFilterEntity>? filters,
}) {
  return CMSInsertAction(
    id: id ?? this.id,
    cubitID: cubitID ?? this.cubitID,
    stateID: stateID ?? this.stateID,
    variableID: variableID ?? this.variableID,
    type: type ?? this.type,
    group: group ?? this.group,
    table: table ?? this.table,
    select: select ?? this.select,
    limit: limit ?? this.limit,
    offset: offset ?? this.offset,
    orderBy: orderBy ?? this.orderBy,
    isCount: isCount ?? this.isCount,
    filters: filters ?? this.filters,
  );
}