SharedFile.fromJson constructor
Implementation
SharedFile.fromJson(Map<String, dynamic> json)
: value = json['value'] ?? json['path'],
thumbnail = json['thumbnail'],
duration = json['duration'],
type = SharedMediaType.values[json['type']];