stringToString static method

String stringToString(
  1. dynamic v,
  2. dynamic format
)

时间戳转换格式

Implementation

static String stringToString(v, format) {
  return FastFormat.timeStampToString(
      FastFormat.getMilliseconds(formartDate: v), format);
}