getImplementationDeclaration method
生成 UniCallback 在实现文件中的私有类声明
Implementation
OCClassDeclaration getImplementationDeclaration() {
registerCustomType('id');
return OCClassDeclaration(
depth: depth,
className: getName(methodName, paramName),
hasExtension: true,
isInterface: true,
properties: [
Variable(
AstCustomType('id',
generics: [AstCustomType(TypeBinaryMessengerInIOS)]),
Keys.binaryMessenger)
]);
}