Skip to content

Commit d55b52f

Browse files
committed
fix analysis
1 parent 4518d07 commit d55b52f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/ffigen/lib/src/code_generator/objc_protocol.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class ObjCProtocol extends NoLookUpBinding with ObjCMethods {
3131
@override
3232
BindingString toBindingString(Writer w) {
3333
if (!generateBindings) {
34-
return BindingString(type: BindingStringType.objcProtocol, string: '');
34+
return const BindingString(
35+
type: BindingStringType.objcProtocol, string: '');
3536
}
3637

3738
final protocolMethod = ObjCBuiltInFunctions.protocolMethod.gen(w);

0 commit comments

Comments
 (0)