readDBusDouble method

DBusDouble? readDBusDouble(
  1. dynamic item
)

Reads a DBusDouble from the buffer or returns null if not enough data.

Implementation

DBusDouble? readDBusDouble(dynamic item) {
  return item is double ? DBusDouble(item as double) : DBusDouble((item as int).toDouble());
}