decode static method

FSensorInfo decode(
  1. Object result
)

Implementation

static FSensorInfo decode(Object result) {
  result as List<Object?>;
  return FSensorInfo(
    name: result[0]! as String,
    address: result[1]! as String,
    serialNumber: result[2]! as String,
    pairingRequired: result[3]! as bool,
    sensModel: result[4]! as int,
    sensFamily: FSensorFamily.values[result[5]! as int],
    rssi: result[6]! as int,
  );
}