ServicePointHeader constructor
ServicePointHeader({
- ServicePointId? id,
- String? title,
- StringValue? description,
- Int32Value? distanceInMeters,
- Price? firstMilePrice,
- GeoLocation? location,
- StoredImage? icon,
- bool? firstMileActive,
- StringValue? locationDescription,
- bool? lastMileActive,
- Price? lastMilePrice,
Implementation
factory ServicePointHeader({
$1.ServicePointId? id,
$core.String? title,
$3.StringValue? description,
$3.Int32Value? distanceInMeters,
$7.Price? firstMilePrice,
$0.GeoLocation? location,
$4.StoredImage? icon,
$core.bool? firstMileActive,
$3.StringValue? locationDescription,
$core.bool? lastMileActive,
$7.Price? lastMilePrice,
}) {
final result = create();
if (id != null) result.id = id;
if (title != null) result.title = title;
if (description != null) result.description = description;
if (distanceInMeters != null) result.distanceInMeters = distanceInMeters;
if (firstMilePrice != null) result.firstMilePrice = firstMilePrice;
if (location != null) result.location = location;
if (icon != null) result.icon = icon;
if (firstMileActive != null) result.firstMileActive = firstMileActive;
if (locationDescription != null)
result.locationDescription = locationDescription;
if (lastMileActive != null) result.lastMileActive = lastMileActive;
if (lastMilePrice != null) result.lastMilePrice = lastMilePrice;
return result;
}