Memory class

Inheritance
Implemented types
Mixed in types
  • MemoryMixin
  • BaseFactMixin
Available Extensions

Constructors

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

Properties

assistedTask ITaskFactForMModel?
Property getter and setter for assistedTask:
getter/setter pairinherited
author → MKey?
no setterinherited
contactKey ↔ MKey?
getter/setter pairinherited
contactKeys List<MKey>?
Property getter and setter for contactKeys:
getter/setter pairoverride
creator ↔ IReliveItContact?
Property getter and setter for creator:
getter/setter pairinherited
dateCreated DateTime?
Property getter and setter for dateCreated:
getter/setter pairinherited
details String?
Property getter and setter for details:
getter/setter pairoverride
diffHashCode int
no setterinherited
diffKey → dynamic
For Diffable
no setterinherited
diffSource → dynamic
For Diffable
no setterinherited
factSchema ↔ IFactSchema
getter/setter pairinherited
factSchemaOrNull → IFactSchema?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
ignoredPaths Set<JsonPath>
no setterinherited
imageContent → IImageContent
no setterinherited
imageList List<IImageContent>
no setterinherited
isAttribute bool
no setterinherited
isHistory bool
no setterinherited
isPending bool
no setterinherited
location ↔ IPhysicalLocation?
Property getter and setter for location:
getter/setter pairoverride
memory String?
Property getter and setter for memory:
getter/setter pairoverride
memoryDate ↔ FlexiDate?
Property getter and setter for memoryDate:
getter/setter pairoverride
mfields Set<String>
no setteroverride
mkey → MKey?
no setterinherited
mkeyOrNull → MKey?
no setterinherited
mmeta ↔ MMeta
getter/setter pairinherited
mtype → MSchemaRef
no setterinherited
organizations List<MKey>?
Property getter and setter for organizations:
getter/setter pairoverride
pets List<MKey>?
Property getter and setter for pets:
getter/setter pairoverride
photos List<IImageContent>?
Property getter and setter for photos:
getter/setter pairoverride
possessions List<MKey>?
Property getter and setter for possessions:
getter/setter pairoverride
recordKey → RecordKey?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTimestamp bool
no setterinherited
smartNoteDate DateTime?
no setterinherited
traditions List<MKey>?
Property getter and setter for traditions:
getter/setter pairoverride
traits List<MKey>?
Property getter and setter for traits:
getter/setter pairoverride
videos List<IVideoContent>?
Property getter and setter for videos:
getter/setter pairoverride
wrapped Map<String, dynamic>
finalinherited

Methods

call<T>(dynamic key) → T?
inherited
clone() IMemory
override
diffEquals(dynamic other) bool
inherited
diffIdentical(dynamic other) bool
inherited
get(String name) → dynamic
inherited
getByPath<T>(JsonPath path) → T
inherited
getDate(IFactMetaDate metaDate, Location location) → TZDateTime?
inherited
getFlexiDate(IFactMetaDate metaDate) → FlexiDate?
inherited
getPrimaryDate() → FlexiDate?
inherited
has(String fieldName) bool
inherited
icon(IRef contact, {bool? circular, double? size = kTileIconSize}) Widget?
inherited
initialize(MKey targetKey, MKey agentKey) → void
inherited
involves(MKey contactId) 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
remindLabel(IFactMetaDate metaDate) String
inherited
setByPath<T>(JsonPath<T> path, T? value) → dynamic
inherited
shortTitle(IRef contact) String?
inherited
subtitle(IRef contact) String?
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
title(IRef contact) String?
inherited
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) Memory
override
of({IReliveItContact? creator, required DateTime? dateCreated, ITaskFactForMModel? assistedTask, List<MKey>? contactKeys, List<MKey>? possessions, List<MKey>? organizations, List<MKey>? pets, List<MKey>? traditions, List<MKey>? traits, FlexiDate? memoryDate, required String? memory, List<IImageContent>? photos, List<IVideoContent>? videos, IPhysicalLocation? location, String? details}) Memory