Possession class

Inheritance
Implemented types
Mixed-in types
Available extensions

Constructors

Possession(Map<String, dynamic> wrapped, {MSchemaRef mtype = PossessionRef, 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
isAttribute bool
no setterinherited
isHistory bool
no setterinherited
isPending bool
no setterinherited
itemName String?
Property getter and setter for itemName:
getter/setter pairoverride
itemType String?
Property getter and setter for itemType:
getter/setter pairoverride
manufacturer String?
Property getter and setter for manufacturer:
getter/setter pairoverride
mfields Set<String>
no setteroverride
mkey → MKey?
no setterinherited
mkeyOrNull → MKey?
no setterinherited
mmeta ↔ MMeta
getter/setter pairinherited
modelNumber String?
Property getter and setter for modelNumber:
getter/setter pairoverride
mtype → MSchemaRef
no setterinherited
ownedEndDate ↔ FlexiDate?
Property getter and setter for ownedEndDate:
getter/setter pairoverride
ownedStartDate ↔ FlexiDate?
Property getter and setter for ownedStartDate:
getter/setter pairoverride
photos List<IImageContent>?
Property getter and setter for photos:
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
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() IPossession
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
has(String fieldName) bool
inherited
icon(IRef contact, {bool? circular, double? size = kTileIconSize}) Widget?
inherited
initialize(MKey targetKey, MKey agentKey) FutureOr
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
setByPath<T>(JsonPath<T> path, T? value) → dynamic
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) Possession
override
of({IReliveItContact? creator, required DateTime? dateCreated, ITaskFactForMModel? assistedTask, List<MKey>? contactKeys, FlexiDate? ownedStartDate, FlexiDate? ownedEndDate, required String? itemName, required String? itemType, String? manufacturer, String? modelNumber, List<IImageContent>? photos, List<IVideoContent>? videos, String? details}) Possession