isScalar function
Implementation
bool isScalar(dynamic value) {
if (value is String || value is num || value is bool) {
return true;
}
return false;
}
bool isScalar(dynamic value) {
if (value is String || value is num || value is bool) {
return true;
}
return false;
}