get static method
void
get()
Make a GET request for a resource. uri must include "suunto://" prefix and device serial if needed. contract must be a json string. If the request is successful, onSuccess is called with response data in json string format, and status code. Upon error, onError is called with reason and status code.
Implementation
static void get(
String uri,
String contract,
void Function(String, int) onSuccess,
void Function(String, int) onError) {
MdsImpl().get(uri, contract, onSuccess, onError);
}