toTemplateExtension function

String? toTemplateExtension(
  1. String? uri
)

Returns uri with its extension updated to _templateExtension.

Implementation

String? toTemplateExtension(String? uri) =>
    _toExtension(uri, _allExtensions, _templateExtension);