metadata property Null safety

Future<JSONObject> 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);
  });
}