toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (aptRepository != null) 'aptRepository': aptRepository!,
  if (commonRepository != null) 'commonRepository': commonRepository!,
  if (description != null) 'description': description!,
  if (disableUpstreamValidation != null)
    'disableUpstreamValidation': disableUpstreamValidation!,
  if (dockerRepository != null) 'dockerRepository': dockerRepository!,
  if (mavenRepository != null) 'mavenRepository': mavenRepository!,
  if (npmRepository != null) 'npmRepository': npmRepository!,
  if (pythonRepository != null) 'pythonRepository': pythonRepository!,
  if (upstreamCredentials != null)
    'upstreamCredentials': upstreamCredentials!,
  if (yumRepository != null) 'yumRepository': yumRepository!,
};