getPropertyAsDouble method

double? getPropertyAsDouble(
  1. String key, [
  2. double? def
])

Gets a property with key. Returns the value as double.

def The default value if key not found.

Implementation

double? getPropertyAsDouble(String key, [double? def]) =>
    getPropertyAs(key, parseDouble, def);