BatchProcessingStatus.fromMap constructor
Implementation
factory BatchProcessingStatus.fromMap(Map<String, dynamic> map) {
return BatchProcessingStatus(
processed: map['processed'] ?? 0,
total: map['total'] ?? 0,
currentIndex: map['currentIndex'],
currentSong: map['currentSong'],
currentArtist: map['currentArtist'],
status: map['status'],
);
}