FactSchema class

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

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 nonexistent 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