preferDynamic constant
LinkModePreference
const preferDynamic
Provide native assets as dynamic libraries, if possible.
Otherwise, build native assets as static libraries
Implementation
static const preferDynamic = LinkModePreference(
'prefer-dynamic',
);