toJson method
Implementation
Map<String, dynamic> toJson() {
final combineArtifacts = this.combineArtifacts;
final restrictions = this.restrictions;
final serviceRole = this.serviceRole;
final timeoutInMins = this.timeoutInMins;
return {
if (combineArtifacts != null) 'combineArtifacts': combineArtifacts,
if (restrictions != null) 'restrictions': restrictions,
if (serviceRole != null) 'serviceRole': serviceRole,
if (timeoutInMins != null) 'timeoutInMins': timeoutInMins,
};
}