Ipns class

Inheritance

Constructors

Ipns(String? bucketUuid, String ipnsUuid, {Map<String, dynamic>? data})
Constructor which should only be called via StorageBucket class. @param bucketUuid Unique identifier of the file's bucket. @param ipnsUuid Unique identifier of the IPNS record. @param data Data to populate the IPNS record with.
Ipns.fromMap(Map<String, dynamic> map)
factory

Properties

apiPrefix String?
API url prefix for this class.
getter/setter pairinherited
bucketUuid String?
Unique identifier of the IPNS record's bucket.
getter/setter pair
createTime String?
The object's creation date
getter/setter pairinherited
description String?
IPNS record description.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipnsName String?
IPNS name that is used to access IPNS content on IPFS gateway.
getter/setter pair
ipnsValue String?
IPFS value (CID), to which this IPNS points.
getter/setter pair
IPNS link to Apillon IPFS gateway, where it is possible to see content to which this IPNS points.
getter/setter pair
name String?
Informational IPNS name, which is set by user to easily organize their IPNS records.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime String?
The date when the object was last updated
getter/setter pairinherited
uuid String
Unique identifier of the model.
getter/setter pairinherited

Methods

delete() Future<Ipns>
Delete an IPNS record from the bucket. @returns Deleted IPNS record
get() Future<Ipns>
Gets IPNS details. @returns IPNS record
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
populate(dynamic data) → dynamic
Populates class properties via data object. @param data Data object.
override
publish(String cid) Future<Ipns>
Publish an IPNS record to IPFS and link it to a CID. @param {string} cid - CID to which this ipns name will point. @returns IPNS record with updated data after publish
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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