Skip to main content

Set

info

fieldIdentifier where ids but this method is deprecated, use fieldSlug instead

setFieldByIdAndMetadata​

Set the saved field by its id and metadata

Arguments

  • fieldIdentifier: String the slug of the field
  • metadata: Map<String, dynamic> the metadata
  • value: dynamic the new value
  • isAiSetted: bool is the value setted by an Ai or not

Return void

setFieldByIdAndMetadata(fieldIdentifier, metadata, value, isAiSetted)

setFieldByIdAndMetadataNoRefresh​

The exact same as setFieldByIdAndMetadata but without refreshing the UI

setFieldByIdAndMetadataNoRefresh(fieldIdentifier, metadata, value, isAiSetted)

Table​

Function NameDescriptionFirst ArgumentSecond ArgumentThird ArgumentFourth ArgumentReturn
setFieldByIdAndMetadataSet the saved field by its id and metadatafieldIdentifier: the slug of the fieldmetadata: the metadatavalue: the new valueisAiSetted: is the value setted by an Ai or notvoid
setFieldByIdAndMetadataNoRefreshThe same as setFieldByIdAndMetadata but without refreshing the UIfieldIdentifier: the slug of the fieldmetadata: the metadatavalue: the new valueisAiSetted: is the value setted by an Ai or notvoid