Skip to content

Commit a1ea1f5

Browse files
committed
format
1 parent 1c571c7 commit a1ea1f5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/api_builder/lib/src/shared.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,16 @@ class Handler {
4747

4848
/// Find members of a class annotated with [EndPoint].
4949
List<ExecutableElement> _getAnnotatedElementsOrderBySourceOffset(
50-
ClassElement cls) {
50+
ClassElement cls,
51+
) {
5152
return cls.children
5253
.whereType<ExecutableElement>()
5354
.where(_endPointType.hasAnnotationOfExact)
5455
.toList()
55-
..sort((a, b) =>
56-
(a.firstFragment.nameOffset!).compareTo(b.firstFragment.nameOffset!));
56+
..sort(
57+
(a, b) =>
58+
(a.firstFragment.nameOffset!).compareTo(b.firstFragment.nameOffset!),
59+
);
5760
}
5861

5962
abstract class EndPointGenerator extends g.Generator {

0 commit comments

Comments
 (0)