Skip to main content

Delete

info

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

deleteFieldsWithSubMetadata

Delete saved all fields that match the metadata

Arguments

  • metadata: Map<String, dynamic> the metadata

Return void

deleteFieldsWithSubMetadata(metadata)

deleteFieldByIdAndMetadata

Delete field by its id and metadata

Arguments

  • fieldIdentifier: string the slug of the field
  • metadata: Map<String, dynamic> the metadata

Return void

deleteFieldByIdAndMetadata(fieldIdentifier, metadata)

deleteFieldByIdAndMetadataNoRefresh

The exact same as deleteFieldByIdAndMetadata but without refreshing the UI

deleteFieldByIdAndMetadataNoRefresh(fieldIdentifier, metadata)

Table

Function NameDescriptionFirst ArgumentSecond ArgumentThird ArgumentReturn
deleteFieldsWithSubMetadataDelete saved all fields that match the metadatametadata: the metadatavoid
deleteFieldByIdAndMetadataDelete field by its id and metadatafieldIdentifier: the slug of the fieldmetadata: the metadatavoid
deleteFieldByIdAndMetadataNoRefreshThe exact same as deleteFieldByIdAndMetadata but without refreshing the UIfieldIdentifier: the slug of the fieldmetadata: the metadatavoid