OwnershipModel class Null safety
The Ownership NFT. The registry of ownership to a given data 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) -
Builds a OwnershipModel from a
map
.
Properties
- about ↔ String?
-
The description about the data.
read / write
-
contains
↔ List<
String> -
The kinds 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 source.
read / write
- transactionId ↔ Uint8List?
-
The transaction id of this registry.
read / write
- type ↔ TikiSdkDataTypeEnum
-
The type of the data source: data point, pool or stream.
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.