forked from flutter/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenum.dart
39 lines (30 loc) · 1.08 KB
/
enum.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 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';
/// This comment is to test enum documentation comments.
enum EnumState {
/// This comment is to test enum member (Pending) documentation comments.
Pending,
/// This comment is to test enum member (Success) documentation comments.
Success,
/// This comment is to test enum member (Error) documentation comments.
Error,
}
/// This comment is to test class documentation comments.
class DataWithEnum {
/// This comment is to test field documentation comments.
EnumState? state;
}
@HostApi()
/// This comment is to test api documentation comments.
abstract class EnumApi2Host {
/// This comment is to test method documentation comments.
DataWithEnum echo(DataWithEnum data);
}
@FlutterApi()
/// This comment is to test api documentation comments.
abstract class EnumApi2Flutter {
/// This comment is to test method documentation comments.
DataWithEnum echo(DataWithEnum data);
}