toWasm method

List<Object?> toWasm()

Returns this as a WASM canonical abi value.

Implementation

List<Object?> toWasm() => [
      partitionBy.map(Expr.toWasm).toList(growable: false),
      orderBy.map((e) => e.toWasm()).toList(growable: false),
      (windowFrame == null
          ? const None().toWasm()
          : Option.fromValue(windowFrame).toWasm((some) => some.toWasm()))
    ];