toJson method
Implementation
Map<String, dynamic> toJson() => {
'name': name,
'path': path,
'estimatedSizeBytes': estimatedSizeBytes,
'dependencies': dependencies.toList(),
'usedBy': usedBy.toList(),
'isExported': isExported,
'isUsed': isUsed,
};