meta_forms library
Classes
- DefaultMEntity
-
DefaultMModelList<
M> - Definition
- Definitions
- EmbeddedPropertyFields
- EmbeddedPropertyPaths
- Entity
- EntityExtensions
- EntityListPropertyFields
- EntityListPropertyPaths
- HasBaseCode
- HasMverseMeta
- IEmbeddedProperty
- IEntityListProperty
- IListProperty
- ILookupResult
- ILookupResults
- IMEntityDefinition
- IMModuleDefinition
- IMOperationDefinition
- IMOperationDefinitionList
- IMRefSchemaDefinition
- IMSchemaDefinition
- IMSchemaDefinitionList
- IMSchemaProperty
- IRefProperty
- ISchemaProperty
- IStringSelectProperty
- ListPropertyFields
- ListPropertyPaths
- LookupResultFields
- LookupResultPaths
- LookupResultsFields
- LookupResultsPaths
- MArtifactRef
- MBaseModel
- MembershipMetadata
- MEntity
- Represents an entity defined by a json-schema that's backed by json value using the wrapped field. A MModel is a non-persisted entity, where as MEntity represents a persisted entity that has an ID
- MEntityDefinitionExt
- MEntityDefinitionFields
- MEntityDefinitionPaths
- MEnumRegistry
- Contains all registered enum types to support deserialization.
- MetaOrgService
- MKey
- Inside the sunny datastore, each record is identified by a key that provides 3 parts:
- MMeta
- MModel
- Represents an entity defined by a json-schema.
-
MModelList<
M> - MModelRegistry
- Contains all registered MBaseModel types to support deserialization. The registry reads the mtype property in the json object, and finds the appropriate factory method.
- MModuleDefinitionFields
- MModuleDefinitionPaths
- MModuleRef
- MOperationDefinitionFields
- MOperationDefinitionListFields
- MOperationDefinitionListPaths
- MOperationDefinitionPaths
- MOperationRef
- A reference that points to a versioned json-schema for an operation or action
- MRefSchemaDefinitionFields
- MRefSchemaDefinitionPaths
- MSchemaDefinitionExt
- MSchemaDefinitionFields
- MSchemaDefinitionListFields
- MSchemaDefinitionListPaths
- MSchemaDefinitionPaths
- MSchemaPropertyFields
- MSchemaPropertyPaths
- MSchemaRef
- A reference that points to a versioned json-schema for an entity
- MSchemaService
- MSchemaTypes
- Mverse
- OrganizationMetadata
- RecordKey
- RefPropertyFields
- RefPropertyPaths
- StringSelectPropertyFields
- StringSelectPropertyPaths
Extensions
- ApiClientFetchExt on ApiClient
- BuildContextMSchemaService on BuildContext
- HasMMetaExt on HasMverseMeta
- MEntityEquality on MEntity
- MKeyExt on MKey
- MModelExt on MModel?
- MSchemaLoaders2 on MSchemaRef
- MSchemaLoadersExt on MModel
- MSchemaRefExtensions on MSchemaRef
- MSchemaRefFactoryExt on MSchemaRef
- ObjectBaseCodeExtension on Object?
- PropSchemaTypeExtensions on PropSchemaType
Constants
- EmbeddedPropertyRef → const MSchemaRef
- EntityListPropertyRef → const MSchemaRef
- ListPropertyRef → const MSchemaRef
- LookupResultRef → const MSchemaRef
- LookupResultsRef → const MSchemaRef
- MEntityDefinitionRef → const MSchemaRef
-
metaFields
→ const Set<
String> - Fields in the json payload that are metadata (not values)
- MModuleDefinitionRef → const MSchemaRef
- MOperationDefinitionListRef → const MSchemaRef
- MOperationDefinitionRef → const MSchemaRef
- MRefSchemaDefinitionRef → const MSchemaRef
- MSchemaDefinitionListRef → const MSchemaRef
- MSchemaDefinitionRef → const MSchemaRef
- MSchemaPropertyRef → const MSchemaRef
- mthingModuleRef → const MModuleRef
- operation → const String
- RefPropertyRef → const MSchemaRef
- schema → const String
- StringSelectPropertyRef → const MSchemaRef
Properties
- mEnumRegistry → MEnumRegistry
-
no setter
- mmodelRegistry → MModelRegistry
-
no setter
Functions
-
emptySchema(
MSchemaRef ref) → IMSchemaDefinition -
extractMverseType(
Map< String, dynamic> map) → String? -
initializeMEnumRegistry(
MEnumRegistry registry) → dynamic -
initializeMModelRegistry(
MModelRegistry registry) → dynamic -
jsonLiteral(
dynamic element) → dynamic -
parseUris(
dynamic uris) → List< Uri> -
raise<
T> (String message) → T
Typedefs
-
MEnumFactory<
M> = M Function(String literal) -
MModelFactory<
M extends MBaseModel> = M Function(dynamic json) - Given json, produces an MBaseModel of that type
-
MModelFactoryResolver<
M extends MBaseModel> = MModelFactory< M> ? Function(String type) - Given a string, returns a function that knows how to instantiate objects of that type
-
TypeExtractor
= String? Function(Map<
String, dynamic> json) - Attempts to determine the entity type