OwnershipModel class Null safety

The registry of ownership to a given source point, pool, or stream.

Constructors

OwnershipModel({Uint8List? transactionId, required String source, required TikiSdkDataTypeEnum type, required String origin, List<String> contains = const [], String? about})
OwnershipModel.fromMap(Map<String, dynamic> map)

Properties

about ↔ String?
A description about the data.
read / write
contains ↔ List<String>
Which kind of data this contains
read / write
hashCode → int
The hash code for this object.
read-only, inherited
origin ↔ String
The origin from which the data was generated.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
source ↔ String
The identification of the data point, pool or stream.
read / write
transactionId ↔ Uint8List?
The transaction id of this registry.
read / write
type ↔ TikiSdkDataTypeEnum
The list of types the source holds.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
serialize() → Uint8List
Serializes the contents to be recorded in the blockchain.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

deserialize(Uint8List serialized) OwnershipModel
Deserializes the contents that was loaded from the blockchain.