properties method

  1. @override
Future<CameraProperties> properties()
override

Get the camera's intrinsic parameters and the camera's distortion parameters.

var cameraProperties = await myCamera.properties();

For more information, see Camera component.

Implementation

@override
Future<CameraProperties> properties() async {
  final request = GetPropertiesRequest()..name = name;
  return await client.getProperties(request);
}