put static method

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

Update an existing resource.

url is the target.

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

body is the actual content being sent to the bridge.

Implementation

static Future<Map<String, dynamic>?> put({
  required String url,
  required String applicationKey,
  required String? token,
  required String body,
}) async =>
    await _submitRequestForBody(
      url: url,
      applicationKey: applicationKey,
      token: token,
      body: body,
      requestType: _RequestType.put,
    );