CameraZoomState.fromMap(Map<String, dynamic> map) : maxZoomRatio = map['maxZoomRatio'] as double?, zoomRatio = map['maxZoomRatio'] as double?;