blob: 86a76560adcc766bc5551d15aa40d9a43bb0faa7 [file] [log] [blame]
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// API docs from [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web).
// Attributions and copyright licensing by Mozilla Contributors is licensed
// under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/.
// Generated from Web IDL definitions.
// ignore_for_file: unintended_html_in_doc_comment
@JS()
library;
import 'dart:js_interop';
import 'fileapi.dart';
extension type ShareData._(JSObject _) implements JSObject {
external factory ShareData({
JSArray<File> files,
String title,
String text,
String url,
});
external JSArray<File> get files;
external set files(JSArray<File> value);
external String get title;
external set title(String value);
external String get text;
external set text(String value);
external String get url;
external set url(String value);
}