measureValue method
int
measureValue(
- dynamic value,
- dynamic preparedValue
)
Implementation
int measureValue(value, preparedValue) {
if (value != null) {
if (value is int) {
return _measureInt(value, preparedValue);
} else if (value is double) {
return _measureDouble(value, preparedValue);
} else if (value is DateTime) {
return _measureDateTime(value, preparedValue);
} else if (value is bool) {
return _measureBool(value, preparedValue);
} else if (value is List<int>) {
return _measureList(value, preparedValue);
} else if (value is Blob) {
return _measureBlob(value, preparedValue);
} else {
return _measureString(value, preparedValue);
}
}
return 0;
}