blob: fc8056a08570f9b94609f032438ef60eb55d39b5 [file] [log] [blame]
// Copyright 2020 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_lib.dart';
class SearchRequest {
String query;
}
class SearchReply {
String result;
}
@FlutterApi()
abstract class Api {
SearchReply search(SearchRequest request);
}
void setupPigeon(PigeonOptions options) {
options.objcOptions.prefix = 'AC';
}