delete method

Future<Ipns> delete()

Delete an IPNS record from the bucket. @returns Deleted IPNS record

Implementation

Future<Ipns> delete() async {
  final data =
      await ApillonApi.delete<Ipns>(apiPrefix!, mapper: Ipns.fromMap);
  ApillonLogger.log('IPNS record deleted successfully');
  return data;
}