getSetupFuncParams static method

List<Variable> getSetupFuncParams(
  1. String protocolName
)

Implementation

static List<Variable> getSetupFuncParams(String protocolName) => [
      Variable(
          AstCustomType('id',
              generics: [AstCustomType('FlutterBinaryMessenger')]),
          'binaryMessenger'),
      Variable(AstCustomType('id', generics: [AstCustomType(protocolName)]),
          'api') // fixme 缺少 _Nullable
    ];