LostDataResponse constructor Null safety

LostDataResponse(
  1. {XFile? file,
  2. PlatformException? exception,
  3. RetrieveType? type,
  4. List<XFile>? files}
)

Creates an instance with the given file, exception, and type. Any of the params may be null, but this is never considered to be empty.

Implementation

LostDataResponse({
  this.file,
  this.exception,
  this.type,
  this.files,
});