metadata property

Future<JSONObject> get metadata

Gets the metadata that is set for the device.

Implementation

static Future<JSONObject> get metadata async {
  return _invokeSdkMethod<Map<Object?, Object?>>(SdkMethod.getMetadata)
      .then((value) {
    return deserializeMetadata(value);
  });
}