FileConfig.fromJson constructor
Implementation
factory FileConfig.fromJson(Map<String, dynamic> json) {
return FileConfig(
type: json['type'],
files: (json['files'] as List<dynamic>)
.map((fileJson) => FileDetail.fromJson(fileJson))
.toList(),
vectorType: json['vector_type'],
category: json['category'],
dbConnectionName: json['db_connection_name'],
dbTableNames: List<String>.from(json['db_table_names']),
dbType: json['db_type'],
);
}