decode static method

FSensorVersion decode(
  1. Object result
)

Implementation

static FSensorVersion decode(Object result) {
  result as List<Object?>;
  return FSensorVersion(
    fwMajor: result[0]! as int,
    fwMinor: result[1]! as int,
    fwPatch: result[2]! as int,
    hwMajor: result[3]! as int,
    hwMinor: result[4]! as int,
    hwPatch: result[5]! as int,
    extMajor: result[6]! as int,
  );
}