encodeLrcString static method
将 lrclist
编码为 lrc 规范的字符串,以便保存回 .lrc 文件
Implementation
static String encodeLrcString(List<LyricSrcItemEntity_c> lrclist) {
var data = "";
for (int i = 0, len = lrclist.length; i < len; ++i) {
data += "[${lrclist[i].timeStr}]${lrclist[i].content}\n";
}
return data;
}