delete static method

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

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,
  required String? token,
}) async =>
    await _submitRequest(
      url: url,
      applicationKey: applicationKey,
      token: token,
      body: null,
      requestType: _RequestType.delete,
    );