delete static method

Future<Map<String, dynamic>?> delete({
  1. required String url,
  2. required String applicationKey,
})

Delete an existing resource.

url is the target.

applicationKey is the key associated with this devices in the bridge's whitelist.

Implementation

static Future<Map<String, dynamic>?> delete({
  required String url,
  required String applicationKey,
}) async =>
    _submitRequest(
      url: url,
      applicationKey: applicationKey,
      body: null,
      requestType: _RequestType.delete,
    );