toDto method
NavigationHeaderStylingOptionsDto
toDto()
Converts this object to a pigeon DTO.
Implementation
NavigationHeaderStylingOptionsDto toDto() {
return NavigationHeaderStylingOptionsDto(
primaryDayModeBackgroundColor: primaryDayModeBackgroundColor?.toARGB32(),
secondaryDayModeBackgroundColor: secondaryDayModeBackgroundColor
?.toARGB32(),
primaryNightModeBackgroundColor: primaryNightModeBackgroundColor
?.toARGB32(),
secondaryNightModeBackgroundColor: secondaryNightModeBackgroundColor
?.toARGB32(),
largeManeuverIconColor: largeManeuverIconColor?.toARGB32(),
smallManeuverIconColor: smallManeuverIconColor?.toARGB32(),
nextStepTextColor: nextStepTextColor?.toARGB32(),
nextStepTextSize: nextStepTextSize,
distanceValueTextColor: distanceValueTextColor?.toARGB32(),
distanceUnitsTextColor: distanceUnitsTextColor?.toARGB32(),
distanceValueTextSize: distanceValueTextSize,
distanceUnitsTextSize: distanceUnitsTextSize,
instructionsTextColor: instructionsTextColor?.toARGB32(),
instructionsFirstRowTextSize: instructionsFirstRowTextSize,
instructionsSecondRowTextSize: instructionsSecondRowTextSize,
guidanceRecommendedLaneColor: guidanceRecommendedLaneColor?.toARGB32(),
);
}