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({
Platform? platform,
MethodChannel? channel,
this.action,
this.flags,
this.category,
this.data,
this.arguments,
this.arrayArguments,
this.package,
this.componentName,
this.type,
}) : assert(action != null || componentName != null,
'action or component (or both) must be specified'),
_channel = channel,
_platform = platform;