setAsString method
Implementation
@override
void setAsString(String aValue) {
if (aValue.isEmpty) {
clear(); // set to NULL (original comment kept as-is)
} else {
final c = double.tryParse(aValue);
if (c == null) {
databaseErrorFmt(SNotAFloat, [aValue]);
}
setAsCurrency(c!);
}
}