resolvePlaceholder method

String? resolvePlaceholder(
  1. SunnyIntl intl,
  2. JsonPath? attribute
)

Implementation

String? resolvePlaceholder(SunnyIntl intl, JsonPath? attribute) {
  if (attribute == null) return null;
  return intl.message("${name}${capitalize(attribute.toKey())}Placeholder");
}