setOnUpdate method

FlutterFlowModel<Widget> setOnUpdate({
  1. bool updateOnChange = false,
  2. required VoidCallback onUpdate,
})

Implementation

FlutterFlowModel setOnUpdate({
  bool updateOnChange = false,
  required VoidCallback onUpdate,
}) =>
    this
      .._updateCallback = onUpdate
      ..updateOnChange = updateOnChange;