Ipfs constructor

Ipfs({
  1. String? url,
})

Get the global instance of this class.

If url is set, then the singleton instance is updated to hold the new value.

Implementation

factory Ipfs({String? url}) {
  _instance._url = url ?? _instance._url;
  return _instance;
}