Last Instance
fieldIdentifier where ids but this method is deprecated, use fieldSlug instead
getLastInstanceSavedFieldByIdAndCurrentMetadata
Get the last instance saved field by its id and current metadata
Arguments
- fieldIdentifier:
string
the slug of the field
Return dynamic
local field = getLastInstanceSavedFieldByIdAndCurrentMetadata(fieldIdentifier)
getLastInstanceSavedFieldByIdAndCurrentMetadataAndSubMetadata
Get the last instance saved field by its id and current metadata and sub-metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the sub-metadata
Return dynamic
local field = getLastInstanceSavedFieldByIdAndCurrentMetadataAndSubMetadata(fieldIdentifier, metadata)
getLastInstanceSavedFieldByIdAndMetadata
Get the last instance saved field by its id and metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the metadata
Return dynamic
local field = getLastInstanceSavedFieldByIdAndMetadata(fieldIdentifier, metadata)
getLastInstanceSavedFieldByIdAndSubMetadata
Get the last instance saved field by its id and sub-metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the sub-metadata
Return List of dynamic
local fields = getLastInstanceSavedFieldByIdAndSubMetadata(fieldIdentifier, metadata)
getLastInstanceSavedFieldsById
Get the last instance saved fields by their id
Arguments
- fieldIdentifier:
string
the slug of the field
Return List of dynamic
local fields = getLastInstanceSavedFieldsById(fieldIdentifier)
getLastInstanceSavedFieldsIdentifierAndValueByIdAndSubMetadata
Get the last instance saved fields identifier and value by their id and the sub-metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the sub-metadata
Return Map of DartFieldIdentifier to dynamic
local fields = getLastInstanceSavedFieldsIdentifierAndValueByIdAndSubMetadata(fieldIdentifier, metadata)
getLastInstanceSavedFirstFieldById
Get the last instance first field saved by its id
Arguments
- fieldIdentifier:
string
the slug of the field
Return dynamic
local field = getLastInstanceSavedFirstFieldById(fieldIdentifier)
getLastSavedFieldByIdAndMetadata
Get the last saved field by its id and metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the metadata
Return dynamic
local field = getLastSavedFieldByIdAndMetadata(fieldIdentifier, metadata)
getLastSavedFieldFromFormIdByIdAndMetadata
Get the last saved field from a form by its id and metadata
Arguments
- fieldIdentifier:
string
the slug of the field - metadata:
Map<String, dynamic>
the metadata - formId:
int
the id of the form
Return dynamic
local field = getLastSavedFieldFromFormIdByIdAndMetadata(fieldIdentifier, metadata, formId)
Table
Function Name | Description | First Argument | Second Argument | Third Argument | Return |
---|---|---|---|---|---|
getLastInstanceSavedFieldByIdAndCurrentMetadata | Get the last instance saved field by its id and current metadata | fieldIdentifier: the slug of the field | dynamic | ||
getLastInstanceSavedFieldByIdAndCurrentMetadataAndSubMetadata | Get the last instance saved field by its id and current metadata and sub-metadata | fieldIdentifier: the slug of the field | metadata: the sub-metadata | dynamic | |
getLastInstanceSavedFieldByIdAndMetadata | Get the last instance saved field by its id and metadata | fieldIdentifier: the slug of the field | metadata: the metadata | dynamic | |
getLastInstanceSavedFieldByIdAndSubMetadata | Get the last instance saved field by its id and sub-metadata | fieldIdentifier: the slug of the field | metadata: the metadata | List<dynamic> | |
getLastInstanceSavedFieldsById | Get the last instance saved fields by their id | fieldIdentifier: the slug of the field | List<dynamic> | ||
getLastInstanceSavedFieldsIdentifierAndValueByIdAndSubMetadata | Get the last instance saved fields identifier and value by their id and the sub-metadata | fieldIdentifier: the slug of the field | metadata: the sub-metadata | Map<DartFieldIdentifier, dynamic> | |
getLastInstanceSavedFirstFieldById | Get the last instance first field saved by its id | fieldIdentifier: the slug of the field | dynamic | ||
getLastSavedFieldByIdAndMetadata | Get the last saved field matching id and metadata in all instance of the same form | fieldIdentifier: the slug of the field | metadata: the metadata | dynamic | |
getLastSavedFieldFromFormIdByIdAndMetadata | Get the last saved field matching id and metadata in all instance of given form | fieldIdentifier: the slug of the field | metadata: the metadata | formId: the id of the form | dynamic |