ParseXFile constructor

ParseXFile(
  1. XFile? file, {
  2. String? name,
  3. String? url,
  4. bool? debug,
  5. ParseClient? client,
  6. bool? autoSendSessionId,
})

Creates a new file base XFile

{https://docs.parseplatform.org/rest/guide/#files/}

Implementation

ParseXFile(this.file,
    {String? name,
    super.url,
    super.debug,
    super.client,
    super.autoSendSessionId})
    : super(
        name: name ?? path.basename(file?.path ?? ''),
      );