ContextCache constructor

ContextCache({
  1. Duration screenTtl = const Duration(seconds: 10),
  2. ScreenContext onCaptureScreen()?,
  3. Future<Map<String, dynamic>> onCaptureGlobal()?,
})

Implementation

ContextCache({
  this.screenTtl = const Duration(seconds: 10),
  this.onCaptureScreen,
  this.onCaptureGlobal,
});