toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'type': type,
'files': files.map((file) => file.toJson()).toList(),
'vector_type': vectorType,
'category': category,
'db_connection_name': dbConnectionName,
'db_table_names': dbTableNames,
'db_type': dbType,
};
}