toHyphenAndSize method
Implementation
WordPartToken toHyphenAndSize(String hyphen) {
final ret = WordPartToken(text + hyphen);
ret.sizeCurrent = sizeHyphen;
ret.sizeHyphen = sizeHyphen;
ret.sizeNoHyphen = sizeNoHyphen;
return ret;
}
WordPartToken toHyphenAndSize(String hyphen) {
final ret = WordPartToken(text + hyphen);
ret.sizeCurrent = sizeHyphen;
ret.sizeHyphen = sizeHyphen;
ret.sizeNoHyphen = sizeNoHyphen;
return ret;
}