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

Return void

setFieldByIdAndMetadata(fieldIdentifier, metadata, value)

setFieldByIdAndMetadataNoRefresh​

The exact same as setFieldByIdAndMetadata but without refreshing the UI

setFieldByIdAndMetadataNoRefresh(fieldIdentifier, metadata, value)

Table​

Function NameDescriptionFirst ArgumentSecond ArgumentThird ArgumentReturn
setFieldByIdAndMetadataSet the saved field by its id and metadatafieldIdentifier: the slug of the fieldmetadata: the metadatavalue: the new valuevoid
setFieldByIdAndMetadataNoRefreshThe same as setFieldByIdAndMetadata but without refreshing the UIfieldIdentifier: the slug of the fieldmetadata: the metadatavalue: the new valuevoid