getDouble method

double? getDouble(
  1. String key
)

Function to get a double from the room

Implementation

double? getDouble(String key) {
  var cdata = getKey(key);
  try {
    return cdata as double;
  } catch (e) {
    return null;
  }
}