FactSchema class

Inheritance
Implemented types
Mixed-in types
Available extensions

Constructors

FactSchema.new(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?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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
entitySchema → IMEntityDefinition

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
factTokens List<String>?
Property getter and setter for factTokens:
getter/setter pairoverride
firstHistoricalDate IFactMetaDate?
no setterinherited
firstHistoricalDate IFactMetaDate?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
futureTemplate IFactSchemaTemplate?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
id String?
no setterinherited
ignoredPaths Set<JsonPath>
no setterinherited
isActionable bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isActionable bool
no setterinherited
isAttribute bool?
Property getter and setter for isAttribute:
getter/setter pairoverride
isDue bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isDue bool
no setterinherited
isHistorical bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isHistorical bool
no setterinherited
isNotSingleton bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isNotSingleton bool
no setterinherited
isOrg bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isOrg bool
no setterinherited
isSingleton bool?
Property getter and setter for isSingleton:
getter/setter pairoverride
isTimeSensitive bool

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
isTimeSensitive bool
no setterinherited
label String?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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
parentRef → MSchemaRef?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
pastTemplate IFactSchemaTemplate?
no setterinherited
pastTemplate IFactSchemaTemplate?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
pluralLabel String?
no setterinherited
pluralLabel String?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
presentTemplate IFactSchemaTemplate?
no setterinherited
presentTemplate IFactSchemaTemplate?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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
timelineField → JsonPath?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
title String?
no setterinherited
title String?

Available on IFactSchema, provided by the FactSchemaExtension extension

no setter
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
tokenize() Set<String>

Available on IFactSchema, provided by the FactSchemaExtension extension

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