getAttributeDouble method

Future<double?> getAttributeDouble(
  1. String tag,
  2. double defaultValue
)

Returns the double value of the tag that is specified as rational or contains a double-formatted value. If there is no such tag in the image file or the value cannot be parsed as double, return defaultValue.

Implementation

Future<double?> getAttributeDouble(String tag, double defaultValue) =>
    channel.invokeMethod<double>(
        "getAttributeDouble", {"tag": tag, "defaultValue": defaultValue});