copyWith method
Copy model with modified properties.
Properties:
file_id: Identifier of the filedirectory: Directory in which the file is supposed to be saved
Implementation
GetSuggestedFileName copyWith({
int? fileId,
String? directory,
}) =>
GetSuggestedFileName(
fileId: fileId ?? this.fileId,
directory: directory ?? this.directory,
);