WeChatFile.network constructor

WeChatFile.network(
  1. String source, {
  2. String? suffix,
})

source must begin with http or https

Implementation

WeChatFile.network(
  String this.source, {
  String? suffix,
})  : assert(source.startsWith('http')),
      schema = FileSchema.network,
      suffix = source.readSuffix(suffix, defaultSuffixTxt);