toJson method

Map<String, dynamic> toJson()

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!,
    };