FFStaticMap constructor
FFStaticMap({
- FFLatLng? legacyLocation,
- int? legacyZoom,
- FFStaticMap_FFStaticMapStyle? style,
- int? legacyTilt,
- int? legacyRotation,
- FFImage? image,
- String? legacyApiKey,
- FFColor? legacyMarkerColor,
- String? legacyMarkerUrl,
- FFLatLngValue? locationValue,
- FFIntegerValue? zoomValue,
- FFIntegerValue? tiltValue,
- FFIntegerValue? rotationValue,
- FFStringValue? apiKeyValue,
- FFColorValue? markerColorValue,
- FFStringValue? markerUrlValue,
Implementation
factory FFStaticMap({
FFLatLng? legacyLocation,
$core.int? legacyZoom,
FFStaticMap_FFStaticMapStyle? style,
$core.int? legacyTilt,
$core.int? legacyRotation,
FFImage? image,
$core.String? legacyApiKey,
FFColor? legacyMarkerColor,
$core.String? legacyMarkerUrl,
FFLatLngValue? locationValue,
FFIntegerValue? zoomValue,
FFIntegerValue? tiltValue,
FFIntegerValue? rotationValue,
FFStringValue? apiKeyValue,
FFColorValue? markerColorValue,
FFStringValue? markerUrlValue,
}) {
final result = create();
if (legacyLocation != null) result.legacyLocation = legacyLocation;
if (legacyZoom != null) result.legacyZoom = legacyZoom;
if (style != null) result.style = style;
if (legacyTilt != null) result.legacyTilt = legacyTilt;
if (legacyRotation != null) result.legacyRotation = legacyRotation;
if (image != null) result.image = image;
if (legacyApiKey != null) result.legacyApiKey = legacyApiKey;
if (legacyMarkerColor != null) result.legacyMarkerColor = legacyMarkerColor;
if (legacyMarkerUrl != null) result.legacyMarkerUrl = legacyMarkerUrl;
if (locationValue != null) result.locationValue = locationValue;
if (zoomValue != null) result.zoomValue = zoomValue;
if (tiltValue != null) result.tiltValue = tiltValue;
if (rotationValue != null) result.rotationValue = rotationValue;
if (apiKeyValue != null) result.apiKeyValue = apiKeyValue;
if (markerColorValue != null) result.markerColorValue = markerColorValue;
if (markerUrlValue != null) result.markerUrlValue = markerUrlValue;
return result;
}