FileHandler.fromJson constructor
Implementation
factory FileHandler.fromJson(Map<String, dynamic> json) {
return FileHandler(
action: json['action'] as String,
accepts: (json['accepts'] as List)
.map((e) => FileHandlerAccept.fromJson(e as Map<String, dynamic>))
.toList(),
displayName: json['displayName'] as String,
);
}