toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (attestationSource != null) 'attestationSource': attestationSource!,
  if (configBasedBuildRequired != null)
    'configBasedBuildRequired': configBasedBuildRequired!,
  if (customConstraints != null) 'customConstraints': customConstraints!,
  if (trustedBuilder != null) 'trustedBuilder': trustedBuilder!,
  if (trustedSourceRepoPatterns != null)
    'trustedSourceRepoPatterns': trustedSourceRepoPatterns!,
};