report abstract method

Future<int> report({
  1. required String sha256,
  2. required Nip01Event reportEvent,
  3. required String serverUrl,
})

Reports a blob to the server
sha256 is the hash of the blob
reportEvent is the report event

returns the http status code of the rcv server

Implementation

Future<int> report({
  required String sha256,
  required Nip01Event reportEvent,
  required String serverUrl,
});