isDouble static method
Checks if a upperCaseTypeString
is of a double type.
The typeString comes from the SqliteDb.getTableColumns method.
Implementation
static bool isDouble(String upperCaseTypeString) {
bool isDouble = DOUBLE.value.contains(upperCaseTypeString);
if (!isDouble) {
isDouble = DOUBLE_SW.value.indexWhere(
(element) => upperCaseTypeString.startsWith(element)) !=
-1;
}
return isDouble;
}