tryParseStringToListInt static method

List<int>? tryParseStringToListInt(
  1. String data
)

Implementation

static List<int>? tryParseStringToListInt(String data) {
  try {
    return Parsexx_c.parseListDynamicToInt(convert.jsonDecode(data));
  } catch (e) {
    Loggerxx.to().severe(LogxxItem(
      prefix: "json 解析错误",
      msg: [e.toString(), data],
    ));
    return null;
  }
}