toJson method
Implementation
@override
Object toJson() => {
if (libraryPackage.isNotDefault) 'libraryPackage': libraryPackage,
if (serviceClassNames.isNotDefault) 'serviceClassNames': serviceClassNames,
if (common case final common?) 'common': common.toJson(),
};