MKey class
Inside the sunny datastore, each record is identified by a key that provides 3 parts:
- its type, which consists of developer/module/artifact/version/type
- its domainId, which is the system of origin
- its external id
Constructors
- MKey(MSchemaRef mtype, String domainId, String mxid)
-
const
- MKey.fromRecordKey(MSchemaRef mtype, RecordKey rk)
- MKey.fromType(MSchemaRef mtype, String mxid, [String? domainId])
Properties
- diffHashCode → int
-
no setterinherited
- diffKey → String
-
no setterinherited
- diffSource → dynamic
-
no setterinherited
- domainId → String
-
final
- equalityHashCode → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isKnown → bool
-
no setterinherited
- mtype → MSchemaRef
-
final
- mxid → String
-
final
- recordKey → RecordKey
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic value, {MSchemaRef? mtype}) → MKey? -
parsed(
String? value, {MSchemaRef? mtype}) → MKey?