toJson method

Map<String, dynamic> toJson()

Implementation

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