representedElementCategory property

ObjCProtocolMethod<NSCollectionElementCategory Function()> representedElementCategory
final

representedElementCategory

Implementation

static final representedElementCategory =
    objc.ObjCProtocolMethod<NSCollectionElementCategory Function()>(
      _protocol_NSCollectionLayoutVisibleItem,
      _sel_representedElementCategory,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_etyamm)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCollectionLayoutVisibleItem,
        _sel_representedElementCategory,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (NSCollectionElementCategory Function() func) =>
          ObjCBlock_NSCollectionElementCategory_ffiVoid.fromFunction(
            (ffi.Pointer<ffi.Void> _) => func(),
          ),
    );