VideoFile.fromMap constructor
Create a VideoFile from a map
Implementation
factory VideoFile.fromMap(Map<String, dynamic> map) {
return VideoFile(
id: map['id'] as String,
name: map['name'] as String,
size: map['size'] as int,
path: map['path'] as String,
uri: map['uri'] as String,
dateAdded: map['dateAdded'] as int,
mimeType: map['mimeType'] as String,
duration: map['duration'] as int,
);
}