toJson method
Implementation
@override
Object toJson() => {
if (exportFormatId.isNotDefault) 'exportFormatId': exportFormatId,
if (artifactDestination != null)
'artifactDestination': artifactDestination!.toJson(),
if (imageDestination != null)
'imageDestination': imageDestination!.toJson(),
};