MustacheTagX extension

the extensions for Mustache

on

Properties

isCamelCase bool
whether the value is MustacheTag.camelCase
no setter
isConstantCase bool
whether the value is MustacheTag.constantCase
no setter
isDotCase bool
whether the value is MustacheTag.dotCase
no setter
isEndIf bool
whether the format is MustacheTag.endIf
no setter
isFormat bool
whether the value is a format type
no setter
isHeaderCase bool
whether the value is MustacheTag.headerCase
no setter
isIf bool
whether the format is MustacheTag.if_
no setter
isIfNot bool
whether the format is MustacheTag.ifNot
no setter
isLowerCase bool
whether the value is MustacheTag.lowerCase
no setter
isMustacheCase bool
whether the value is MustacheTag.mustacheCase
no setter
isParamCase bool
whether the value is MustacheTag.paramCase
no setter
isPascalCase bool
whether the value is MustacheTag.pascalCase
no setter
isPathCase bool
whether the value is MustacheTag.pathCase
no setter
isSentenceCase bool
whether the value is MustacheTag.sentenceCase
no setter
isSnakeCase bool
whether the value is MustacheTag.snakeCase
no setter
isTitleCase bool
whether the value is MustacheTag.titleCase
no setter
isUpperCase bool
whether the value is MustacheTag.upperCase
no setter

Methods

wrap(String content, {int? braceCount, String? startDeliminator, String? endDeliminator}) String
Wraps the content with mustache

Static Properties

wrappedPattern RegExp
the pattern to match if content is wrapped with brackets
no setter