stringLength property

ObjCProtocolMethod<int Function()> stringLength
final

stringLength

Implementation

static final stringLength =
    objc.ObjCProtocolMethod<DartNSUInteger Function()>(
      _protocol_NSTextFinderClient,
      _sel_stringLength,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1ckyi24)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextFinderClient,
        _sel_stringLength,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (DartNSUInteger Function() func) =>
          ObjCBlock_NSUInteger_ffiVoid.fromFunction(
            (ffi.Pointer<ffi.Void> _) => func(),
          ),
    );