set<T> method
Implementation
void set<T>(String key, T value) {
switch (value) {
case int():
setInt(key, value);
case double():
setDouble(key, value);
case String():
setString(key, value);
case bool():
setBool(key, value);
case cvg.FlannAlgorithm():
setAlgorithm(value);
default:
throw ArgumentError("Unsupported type: ${value.runtimeType}");
}
}