Dartにおける型チェックについて

概要

Dartで型チェックを行うには、isキーワードを使用する。

以下にコード例を示す。

if(num is Int){
	...
}
else if(num is String){
	...
}