decode static method

WindowState decode(
  1. Object result
)

Implementation

static WindowState decode(Object result) {
  result as List<Object?>;
  return WindowState(
    x: result[0]! as int,
    y: result[1]! as int,
    width: result[2]! as int,
    height: result[3]! as int,
    isMaximized: result[4]! as bool,
    isMinimized: result[5]! as bool,
  );
}