FileFilter.fromJson constructor
Implementation
factory FileFilter.fromJson(Map<String, dynamic> json) {
return FileFilter(
name: json.containsKey('name') ? json['name'] as String : null,
accepts: json.containsKey('accepts')
? (json['accepts'] as List).map((e) => e as String).toList()
: null,
);
}