AndroidIntent.private constructor
AndroidIntent.private({})
This constructor is only exposed for unit testing. Do not rely on this in app code, it may break without warning.
Implementation
@visibleForTesting
AndroidIntent.private({
required Platform platform,
required MethodChannel channel,
this.action,
this.flags,
this.category,
this.data,
this.arguments,
this.package,
this.componentName,
this.type,
}) : assert(action != null || componentName != null,
'action or component (or both) must be specified'),
_channel = channel,
_platform = platform;