WeChatFile.asset constructor
source
path of the image, like '/asset/image.pdf?package=flutter',
the query param package in source
only available when you want to specify the package of image
Implementation
WeChatFile.asset(
String source, {
String? suffix,
}) : assert(source.trim().isNotEmpty),
this.source = source,
this.schema = FileSchema.ASSET,
this.suffix = source.readSuffix(suffix, defaultSuffixTxt);