isPrimitiveValue function
Check if value is primitive type
Implementation
bool isPrimitiveValue(dynamic value) {
return value == null || value is num || value is String || value is bool;
}
Check if value is primitive type
bool isPrimitiveValue(dynamic value) {
return value == null || value is num || value is String || value is bool;
}