withTemplateValue method
Creates a pattern for the same original pattern text and culture as this pattern, but with the specified template value.
newTemplateValue
: The template value to use in the new pattern.
Returns: A new pattern with the given template value.
Implementation
OffsetDatePattern withTemplateValue(OffsetDate newTemplateValue) =>
_create(patternText, _formatInfo, newTemplateValue);