debugInvokeBackground method

  1. @override
Future<Map<String, Object?>?> debugInvokeBackground(
  1. String id,
  2. Map<String, Object?> args
)
override

Forces an invocation through the headless engine, for development.

Returns null on platforms with no background support.

Implementation

@override
Future<Map<String, Object?>?> debugInvokeBackground(
  String id,
  Map<String, Object?> args,
) => invokeIntent(id, args: args, background: _backgroundInvocations != null);