format property

dynamic get format

The input string template

Implementation

get format {
	final ret = StringBuffer();
	//Assemble the string template from segments and keys
	int index = 0;
	for(final sub in _subs){
		ret..write(_bodySegs[index++])..write("{${sub}}");
	}

	return (ret..write(_bodySegs[index])).toString();
}