toJson method

Map<String, dynamic> toJson()

Implementation

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