blob: 8ad4d5da9e222210eba86003c159a034114e9d40 [file] [log] [blame]
// Copyright 2020 The Fuchsia 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:fidl_fidl_test_protocolmethodadd/fidl_async.dart' as fidllib;
// [START contents]
class Server extends fidllib.Example {
@override
Future<void> existingMethod() async {}
@override
Future<void> newMethod() async {}
}
void client(fidllib.ExampleProxy client) async {
await client.existingMethod();
await client.newMethod();
}
// [END contents]