setMetadata method Null safety

void setMetadata(
  1. JSONObject data
)

Sets the metadata for the device.

Implementation

static void setMetadata(JSONObject data) {
  _invokeSdkVoidMethod(SdkMethod.setMetadata, serializeMetadata(data));
}