getLightEstimate method

Future<ARKitLightEstimate?> getLightEstimate()

Implementation

Future<ARKitLightEstimate?> getLightEstimate() async {
  final estimate =
      await _channel.invokeMethod<Map<dynamic, dynamic>>('getLightEstimate');
  return estimate != null
      ? ARKitLightEstimate.fromJson(estimate.cast<String, double>())
      : null;
}