We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4518d07 commit d55b52fCopy full SHA for d55b52f
pkgs/ffigen/lib/src/code_generator/objc_protocol.dart
@@ -31,7 +31,8 @@ class ObjCProtocol extends NoLookUpBinding with ObjCMethods {
31
@override
32
BindingString toBindingString(Writer w) {
33
if (!generateBindings) {
34
- return BindingString(type: BindingStringType.objcProtocol, string: '');
+ return const BindingString(
35
+ type: BindingStringType.objcProtocol, string: '');
36
}
37
38
final protocolMethod = ObjCBuiltInFunctions.protocolMethod.gen(w);
0 commit comments