@@ -8,29 +8,29 @@ import 'package:meta/meta.dart';
8
8
abstract class Comments {
9
9
10
10
/// This is some very useful constant.
11
- static final bool veryUseful = true ;
11
+ static final Comments_Usefulness veryUseful = true ;
12
12
/// This is some very useful method that measures the usefulness of its input.
13
13
///
14
14
/// [inputParameter] Very useful input parameter
15
15
///
16
- /// Returns [bool ] . Usefulness of the input
16
+ /// Returns [Comments_Usefulness ] . Usefulness of the input
17
17
///
18
18
/// Throws [Comments_SomethingWrongException] . Sometimes it happens.
19
19
///
20
- bool someMethodWithAllComments (String inputParameter);
20
+ Comments_Usefulness someMethodWithAllComments (String inputParameter);
21
21
/// This is some very useful method that measures the usefulness of its input.
22
22
///
23
23
/// [input] Very useful input parameter
24
24
///
25
- bool someMethodWithInputComments (String input);
25
+ Comments_Usefulness someMethodWithInputComments (String input);
26
26
/// This is some very useful method that measures the usefulness of its input.
27
27
///
28
- /// Returns [bool ] . Usefulness of the input
28
+ /// Returns [Comments_Usefulness ] . Usefulness of the input
29
29
///
30
- bool someMethodWithOutputComments (String input);
30
+ Comments_Usefulness someMethodWithOutputComments (String input);
31
31
/// This is some very useful method that measures the usefulness of its input.
32
32
///
33
- bool someMethodWithNoComments (String input);
33
+ Comments_Usefulness someMethodWithNoComments (String input);
34
34
/// This is some very useful method that does not measure the usefulness of its input.
35
35
///
36
36
/// [input] Very useful input parameter
@@ -41,12 +41,12 @@ abstract class Comments {
41
41
void someMethodWithoutReturnTypeWithNoComments (String input);
42
42
/// This is some very useful method that measures the usefulness of something.
43
43
///
44
- /// Returns [bool ] . Usefulness of the input
44
+ /// Returns [Comments_Usefulness ] . Usefulness of the input
45
45
///
46
- bool someMethodWithoutInputParametersWithAllComments ();
46
+ Comments_Usefulness someMethodWithoutInputParametersWithAllComments ();
47
47
/// This is some very useful method that measures the usefulness of something.
48
48
///
49
- bool someMethodWithoutInputParametersWithNoComments ();
49
+ Comments_Usefulness someMethodWithoutInputParametersWithNoComments ();
50
50
void someMethodWithNothing ();
51
51
/// This is some very useful method that does nothing.
52
52
///
@@ -58,10 +58,12 @@ abstract class Comments {
58
58
///
59
59
String returnCommentOnly (String undocumented);
60
60
/// Gets some very useful property.
61
- bool get isSomeProperty;
61
+ Comments_Usefulness get isSomeProperty;
62
62
/// Sets some very useful property.
63
- set isSomeProperty (bool value);
63
+ set isSomeProperty (Comments_Usefulness value);
64
64
}
65
+ /// This is some very useful typedef.
66
+ typedef Comments_Usefulness = bool ;
65
67
/// This is some very useful enum.
66
68
enum Comments_SomeEnum {
67
69
/// Not quite useful
@@ -129,7 +131,7 @@ class Comments_SomethingWrongException implements Exception {
129
131
class Comments_SomeStruct {
130
132
/// How useful this struct is
131
133
/// remains to be seen
132
- bool someField;
134
+ Comments_Usefulness someField;
133
135
/// Can be `null`
134
136
String ? nullableField;
135
137
/// This is how easy it is to construct.
@@ -354,7 +356,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
354
356
Comments$Impl (Pointer <Void > handle) : super (handle);
355
357
356
358
@override
357
- bool someMethodWithAllComments (String inputParameter) {
359
+ Comments_Usefulness someMethodWithAllComments (String inputParameter) {
358
360
final _someMethodWithAllCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Pointer <Void > Function (Pointer <Void >, Int32 , Pointer <Void >), Pointer <Void > Function (Pointer <Void >, int , Pointer <Void >)> ('library_smoke_Comments_someMethodWithAllComments__String' ));
359
361
final _inputParameterHandle = stringToFfi (inputParameter);
360
362
final _handle = this .handle;
@@ -378,7 +380,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
378
380
}
379
381
}
380
382
@override
381
- bool someMethodWithInputComments (String input) {
383
+ Comments_Usefulness someMethodWithInputComments (String input) {
382
384
final _someMethodWithInputCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 , Pointer <Void >), int Function (Pointer <Void >, int , Pointer <Void >)> ('library_smoke_Comments_someMethodWithInputComments__String' ));
383
385
final _inputHandle = stringToFfi (input);
384
386
final _handle = this .handle;
@@ -391,7 +393,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
391
393
}
392
394
}
393
395
@override
394
- bool someMethodWithOutputComments (String input) {
396
+ Comments_Usefulness someMethodWithOutputComments (String input) {
395
397
final _someMethodWithOutputCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 , Pointer <Void >), int Function (Pointer <Void >, int , Pointer <Void >)> ('library_smoke_Comments_someMethodWithOutputComments__String' ));
396
398
final _inputHandle = stringToFfi (input);
397
399
final _handle = this .handle;
@@ -404,7 +406,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
404
406
}
405
407
}
406
408
@override
407
- bool someMethodWithNoComments (String input) {
409
+ Comments_Usefulness someMethodWithNoComments (String input) {
408
410
final _someMethodWithNoCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 , Pointer <Void >), int Function (Pointer <Void >, int , Pointer <Void >)> ('library_smoke_Comments_someMethodWithNoComments__String' ));
409
411
final _inputHandle = stringToFfi (input);
410
412
final _handle = this .handle;
@@ -433,7 +435,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
433
435
stringReleaseFfiHandle (_inputHandle);
434
436
}
435
437
@override
436
- bool someMethodWithoutInputParametersWithAllComments () {
438
+ Comments_Usefulness someMethodWithoutInputParametersWithAllComments () {
437
439
final _someMethodWithoutInputParametersWithAllCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 ), int Function (Pointer <Void >, int )> ('library_smoke_Comments_someMethodWithoutInputParametersWithAllComments' ));
438
440
final _handle = this .handle;
439
441
final __resultHandle = _someMethodWithoutInputParametersWithAllCommentsFfi (_handle, __lib.LibraryContext .isolateId);
@@ -444,7 +446,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
444
446
}
445
447
}
446
448
@override
447
- bool someMethodWithoutInputParametersWithNoComments () {
449
+ Comments_Usefulness someMethodWithoutInputParametersWithNoComments () {
448
450
final _someMethodWithoutInputParametersWithNoCommentsFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 ), int Function (Pointer <Void >, int )> ('library_smoke_Comments_someMethodWithoutInputParametersWithNoComments' ));
449
451
final _handle = this .handle;
450
452
final __resultHandle = _someMethodWithoutInputParametersWithNoCommentsFfi (_handle, __lib.LibraryContext .isolateId);
@@ -495,7 +497,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
495
497
}
496
498
}
497
499
@override
498
- bool get isSomeProperty {
500
+ Comments_Usefulness get isSomeProperty {
499
501
final _getFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Uint8 Function (Pointer <Void >, Int32 ), int Function (Pointer <Void >, int )> ('library_smoke_Comments_isSomeProperty_get' ));
500
502
final _handle = this .handle;
501
503
final __resultHandle = _getFfi (_handle, __lib.LibraryContext .isolateId);
@@ -506,7 +508,7 @@ class Comments$Impl extends __lib.NativeBase implements Comments {
506
508
}
507
509
}
508
510
@override
509
- set isSomeProperty (bool value) {
511
+ set isSomeProperty (Comments_Usefulness value) {
510
512
final _setFfi = __lib.catchArgumentError (() => __lib.nativeLibrary.lookupFunction< Void Function (Pointer <Void >, Int32 , Uint8 ), void Function (Pointer <Void >, int , int )> ('library_smoke_Comments_isSomeProperty_set__Boolean' ));
511
513
final _valueHandle = booleanToFfi (value);
512
514
final _handle = this .handle;
0 commit comments