MSchemaDefinition class Null safety

Inheritance
Implemented types
Mixed in types
Implementers
Available Extensions

Constructors

MSchemaDefinition(Map<String, dynamic> wrapped, {MSchemaRef mtype = MSchemaDefinitionRef, bool update = true})

Properties

diffHashCode int
read-only, inherited
diffKey → dynamic
For Diffable
read-only, inherited
diffSource → dynamic
For Diffable
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
read-only, inherited
ignoredPaths Set<JsonPath>
read-only, inherited
mfields Set<String>
read-only, override
mkey MKey?
read-only, inherited
mkeyOrNull MKey?
read-only, inherited
mtype MSchemaRef
read-only, inherited
properties List<IMSchemaProperty>?
Property getter and setter for properties:
read / write, override
propsByPath Map<JsonPath, IMSchemaProperty>
read-only, inherited
recordKey RecordKey?
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schemaURI Uri?
Property getter and setter for schemaURI:
read / write, override
self MSchemaRef?
read-only, inherited
wrapped Map<String, dynamic>
final, inherited

Methods

asEntitySchema() IMEntityDefinition
inherited
call<T>(dynamic key) → T?
inherited
clone() MSchemaDefinition
override
diffEquals(dynamic other) bool
inherited
diffIdentical(dynamic other) bool
inherited
get(String name) → dynamic
inherited
getByPath<T>(JsonPath path) → T
inherited
has(String fieldName) bool
inherited
jpath<T>(JsonPath<T> path, [T? value]) → T?
inherited
modified() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
prop(JsonPath path) IMSchemaProperty?
inherited
prune(Set<String> fields) → void
inherited
setByPath<T>(JsonPath<T> path, T? value) → dynamic
inherited
sync([Set<String>? fields]) → void
There are some weird cases where collections aren't synced properly with the underlying json. This will overwrite the json with the latest value of the variable.
inherited
takeFrom(dynamic source) → void
override
takeFromMap(Map<String, dynamic>? from, {bool copyEntries = true}) → void
Used for meta-forms in setting deep properties
override
toJson() → dynamic
override
toMap() Map<String, dynamic>
For RouteParams - move at some point?
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](dynamic key) → dynamic
override
operator []=(String key, dynamic value) → void
override

Static Methods

fromJson(dynamic wrapped) MSchemaDefinition
override
of({required Uri? schemaURI, List<IMSchemaProperty>? properties}) MSchemaDefinition