UpdatePolicy<S, U>.allowIf constructor

const UpdatePolicy<S, U>.allowIf({
  1. bool? hovered,
  2. bool? focused,
  3. bool? touched,
  4. bool? dirty,
  5. bool? empty,
  6. bool? full,
  7. bool? edited,
  8. bool? submitted,
  9. FetchStatus? fetch,
})

Implementation

const factory UpdatePolicy.allowIf({
  bool? hovered,
  bool? focused,
  bool? touched,
  bool? dirty,
  bool? empty,
  bool? full,
  bool? edited,
  bool? submitted,
  FetchStatus? fetch,
}) = AllowIfPolicy<S, U>;