action property

QueryAction? action
final

How this query interacts with its invoking provider.

Often the invoking Repository will appropriately adjust the action when interacting with the provider. For example:

  upsert(query) => final q = query.copyWith(action: QueryAction.upsert)

Implementation

final QueryAction? action;