toJson method

  1. @override
Object toJson()
override

Implementation

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