Creates a new instance from a json
factory UploadState.fromJson(Map<String, dynamic> json) => _$UploadStateFromJson(json);