apply method
Implementation
@override
String apply(String value, {Map<String, dynamic>? values}) {
String finalValue = value;
if (values != null) {
final currentValues = Map<String, dynamic>.from(values.map((key, value) =>
identifier != null
? MapEntry('$identifier.$key', value)
: MapEntry(key, value)));
finalValue = _replace(value, currentValues);
}
return _replace(finalValue, this.values);
}