patch method

Future patch(
  1. dynamic uri,
  2. dynamic json
)

Updates specific children at a location without overwriting existing data using a HTTP PATCH request. The response from a successful request contains a data being written.

See: firebase.google.com/docs/reference/rest/database/#section-patch.

Implementation

Future<dynamic> patch(uri, json) => send('PATCH', uri, json: json);