toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (builderConfig != null) 'builderConfig': builderConfig!,
if (materials != null) 'materials': materials!,
if (metadata != null) 'metadata': metadata!,
if (recipe != null) 'recipe': recipe!,
};