defaultParseFileConstructor static method

ParseFileBase defaultParseFileConstructor({
  1. String? name,
  2. String? url,
})

Implementation

static ParseFileBase defaultParseFileConstructor(
    {String? name, String? url}) {
  if (parseIsWeb) {
    return ParseWebFile(null, name: name!, url: url);
  } else {
    return ParseFile(null, name: name, url: url);
  }
}