isPrimitive static method
Implementation
static bool isPrimitive(dynamic obj){
return obj == 1.runtimeType.toString() || obj == 0.0.runtimeType.toString() ||
obj == "".runtimeType.toString() || obj == true.runtimeType.toString();
}
static bool isPrimitive(dynamic obj){
return obj == 1.runtimeType.toString() || obj == 0.0.runtimeType.toString() ||
obj == "".runtimeType.toString() || obj == true.runtimeType.toString();
}