isPrimitive function
是否是基础类似
Implementation
bool isPrimitive(dynamic value) {
return value is double || value is int || value is String || value is bool;
}
是否是基础类似
bool isPrimitive(dynamic value) {
return value is double || value is int || value is String || value is bool;
}