NetworkFileModel constructor

NetworkFileModel({
  1. required int id,
  2. required String url,
  3. String? fileName,
  4. String? extensionFile,
  5. double? size,
})

Constructs a NetworkFileModel object.

The id and url parameters are required, while the rest are optional.

Implementation

NetworkFileModel({
  required this.id,
  required this.url,
  this.fileName,
  this.extensionFile,
  this.size,
});