getCamera method
Implementation
Future<OlaCameraPosition?> getCamera() async {
try {
final result = await _invoke('getCameraPosition');
if (result is Map) return OlaCameraPosition.fromJson(result);
return null;
} catch (e) {
debugPrint('Error getting camera position: $e');
return null;
}
}