toJson method
Converts this import configuration to a JSON-serializable map.
Implementation
Map<String, dynamic> toJson() => {
'importPath': importPath,
'classes': classes.map((c) => c.toJson()).toList(),
'enums': enums.map((e) => e.toJson()).toList(),
};