getCameraInfo static method
Implementation
static Future<CameraInfo> getCameraInfo(int cameraId) async {
final Map<String, dynamic>? infoMap =
await CameraChannel.channel.invokeMapMethod<String, dynamic>(
'Camera#getCameraInfo',
<String, dynamic>{'cameraId': cameraId},
);
return CameraInfo.fromMap(infoMap!);
}