ParseFile constructor

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

Creates a new file

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

Implementation

ParseFile(this.file,
    {String? name,
    String? url,
    bool? debug,
    ParseClient? client,
    bool? autoSendSessionId})
    : super(
        name: file != null ? path.basename(file.path) : name!,
        url: url,
        debug: debug,
        client: client,
        autoSendSessionId: autoSendSessionId,
      );