# FlutterCallbackCache

Objective-C

    @interface FlutterCallbackCache : NSObject

Swift

    class FlutterCallbackCache : NSObject

The cache containing callback information for spawning a `FlutterHeadlessDartRunner`.

- `+lookupCallbackInformation:`

  Returns the callback information for the given callback handle. This callback information can be used when spawning a `FlutterHeadlessDartRunner`.

  #### Declaration

  Objective-C

      + (FlutterCallbackInformation *)lookupCallbackInformation:(int64_t)handle;

  Swift

      class func lookupCallbackInformation(_ handle: Int64) -> FlutterCallbackInformation!

  #### Parameters

  `handle` | The handle for a callback, provided by the Dart method `PluginUtilities.getCallbackHandle`.

  #### Return Value

  A `FlutterCallbackInformation` object which contains the name of the callback, the name of the class in which the callback is defined, and the path of the library which contains the callback. If the provided handle is invalid, nil is returned.

© 2023 Flutter. All rights reserved. (Last updated: 2023-02-28)

Generated by jazzy ♪♫ v0.14.3, a Realm project.