Skip to content

Instantly share code, notes, and snippets.

import 'dart:convert';
import 'dart:async';
/// ---------------- MOCK API ----------------
Future<String> mockApiResponse() async {
await Future.delayed(const Duration(milliseconds: 500));
return jsonEncode({
"meta": {"v": "1.2", "ts": "2025-12-23T14:20:00Z"},
@jehuamanna
jehuamanna / index.html
Created May 29, 2024 07:42
MediaPipe Pose Landmarker Task for web
<!-- Copyright 2023 The MediaPipe Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,