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