class UploadModel {
  final bool exists;
  final int size;
  final String path;
  final String url;

  UploadModel({
    required this.exists,
    required this.size,
    required this.path,
    required this.url,
  });

  factory UploadModel.fromJson(Map<String, dynamic> json) => UploadModel(
        exists: json['exists'],
        size: json['size'],
        path: json['path'],
        url: json['url'],
      );
}
