parseInt static method

int parseInt(
  1. dynamic v
)

解析int,失败返回0

Implementation

static int parseInt(dynamic v) => tryParseInt(v) ?? 0;