mverse library Null safety

Classes

DefaultMEntity
DefaultMModelList<M>
Definition
Definitions
Entity
EntityExtensions
HasBaseCode
HasMverseMeta
ISchemaProperty
MArtifactRef
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
Contains all registered enum types to support deserialization.
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 MModel types to support deserialization. The registry reads the mtype property in the json object, and finds the appropriate factory method.
MModuleRef
MOperationRef
A reference that points to a versioned json-schema for an operation or action
MSchemaRef
A reference that points to a versioned json-schema for an entity
MSchemaTypes
Mverse
RecordKey

Extensions

HasMMetaExt
MEntityEquality
MKeyExt
MModelExt
MSchemaRefExtensions
ObjectBaseCodeExtension
PropSchemaTypeExtensions

Constants

metaFields → const Set<String>
Fields in the json payload that are metadata (not values)
{"mtype", "mmeta"}
operation → const String
"operation"
schema → const String
"schema"

Properties

read-only
mmodelRegistry MModelRegistry
read-only

Functions

initializeMEnumRegistry(MEnumRegistry registry) → dynamic
initializeMModelRegistry(MModelRegistry registry) → dynamic
jsonLiteral(dynamic element) → dynamic
parseUris(dynamic uris) List<Uri>

Enums

PropSchemaType

Typedefs

MModelFactory<M extends MModel> = M Function(dynamic json)