blob: 7d9e5d771dbdc8249c4f73761f52d1e494bead2a [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'dart:ui';
import 'scenario.dart';
/// Echo platform messages back to the sender.
mixin PlatformEchoMixin on Scenario {
@override
void onPlatformMessage(
String name,
ByteData? data,
PlatformMessageResponseCallback? callback,
) {
window.sendPlatformMessage(name, data, null);
}
}