FactSchema class Null safety

Inheritance
Implemented types
Mixed in types
Available Extensions

Constructors

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

Properties

bundle String?
Property getter and setter for bundle:
read / write, override
category String?
Property getter and setter for category:
read / write, override
dates List<IFactMetaDate>?
Property getter and setter for dates:
read / write, override
defaultTemplate IFactSchemaTemplate?
read-only, inherited
diffHashCode int
read-only, inherited
diffKey → dynamic
For Diffable
read-only, inherited
diffSource → dynamic
For Diffable
read-only, inherited
duration IFactDuration?
Property getter and setter for duration:
read / write, override
entitySchema IMEntityDefinition
read-only, inherited
factTokens List<String>?
Property getter and setter for factTokens:
read / write, override
firstHistoricalDate IFactMetaDate?
read-only, inherited
futureTemplate IFactSchemaTemplate?
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
icon String?
Property getter and setter for icon:
read / write, override
id String?
read-only, inherited
ignoredPaths Set<JsonPath>
read-only, inherited
isActionable bool
read-only, inherited
isAttribute bool?
Property getter and setter for isAttribute:
read / write, override
isDue bool
read-only, inherited
isHistorical bool
read-only, inherited
isNotSingleton bool
read-only, inherited
isOrg bool
read-only, inherited
isSingleton bool?
Property getter and setter for isSingleton:
read / write, override
isTimeSensitive bool
read-only, inherited
label String?
read-only, inherited
Property getter and setter for links:
read / write, override
mfields Set<String>
read-only, override
mkey MKey?
read-only, inherited
mkeyOrNull MKey?
read-only, inherited
mschema IMSchemaDefinition?
Property getter and setter for mschema:
read / write, override
mtype MSchemaRef
read-only, inherited
parentRef MSchemaRef?
read-only, inherited
pastTemplate IFactSchemaTemplate?
read-only, inherited
pluralLabel String?
read-only, inherited
presentTemplate IFactSchemaTemplate?
read-only, inherited
recordKey RecordKey?
read-only, inherited
recordType MSchemaRef?
Property getter and setter for recordType:
read / write, override
ref MSchemaRef?
Property getter and setter for ref:
read / write, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
template String?
read-only, inherited
templates Map<String, IFactSchemaTemplate>?
Property getter and setter for templates:
read / write, override
tenses List<IFactTense>?
Property getter and setter for tenses:
read / write, override
timelineField JsonPath?
read-only, inherited
title String?
read-only, inherited
wrapped Map<String, dynamic>
final, inherited

Methods

call<T>(dynamic key) → T?
inherited
clone() FactSchema
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
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
tokenize() Set<String>
inherited
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) FactSchema
override
of({required MSchemaRef? ref, required IMSchemaDefinition? mschema, MSchemaRef? recordType, required String? category, Map<String, IFactSchemaTemplate>? templates, String? icon, List<IFactTense>? tenses, List<String>? factTokens, String? bundle, List<IFactMetaDate>? dates, List<IFactLink>? links, IFactDuration? duration, bool? isSingleton = false, bool? isAttribute = false}) FactSchema