Index: client/dom/generated/src/frog/Uint8Array.dart |
diff --git a/client/dom/generated/src/frog/Uint8Array.dart b/client/dom/generated/src/frog/Uint8Array.dart |
index 17b14297571c541ffc8c049ee0f619006ba7f984..62701a9cbb81cf77eb05503620ee43b669c86e6f 100644 |
--- a/client/dom/generated/src/frog/Uint8Array.dart |
+++ b/client/dom/generated/src/frog/Uint8Array.dart |
@@ -84,7 +84,9 @@ class _Uint8ArrayJs extends _ArrayBufferViewJs implements Uint8Array, List<int> |
// -- end List<int> mixins. |
- void setElements(Object array, [int offset = null]) native; |
+ void setElements(Object array, [int offset = null]) native ''' |
+if (offset == null) return this.set(array); |
+return this.set(array, offset);'''; |
_Uint8ArrayJs subarray(int start, [int end = null]) native; |
} |