copyWith method

SelectSupabaseAction copyWith({
  1. ID? id,
  2. ID? requestID,
  3. List<SupabaseActionFieldEntity>? filters,
  4. List<ActionEntity>? actionsIfSuccess,
  5. List<ActionEntity>? actionsIfError,
})

Implementation

SelectSupabaseAction copyWith({
  ID? id,
  ID? requestID,
  List<SupabaseActionFieldEntity>? filters,
  List<ActionEntity>? actionsIfSuccess,
  List<ActionEntity>? actionsIfError,
}) {
  return SelectSupabaseAction(
    id: id ?? this.id,
    requestID: requestID ?? this.requestID,
    filters: filters ?? this.filters,
    actionsIfSuccess: actionsIfSuccess ?? this.actionsIfSuccess,
    actionsIfError: actionsIfError ?? this.actionsIfError,
  );
}