blob: 1e7f570fa47c6c6c14f1cfd9172f7d3e845f0138 [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 'package:pigeon/pigeon.dart';
class Value {
int? number;
}
@HostApi()
abstract class Api2Host {
@async
Value calculate(Value value);
@async
void voidVoid();
}
@FlutterApi()
abstract class Api2Flutter {
@async
Value calculate(Value value);
}