Recipe.fromJson constructor

Recipe.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Recipe.fromJson(Map<String, dynamic> json) {
  return Recipe(
    algorithmArn: json['algorithmArn'] as String?,
    creationDateTime: timeStampFromJson(json['creationDateTime']),
    description: json['description'] as String?,
    featureTransformationArn: json['featureTransformationArn'] as String?,
    lastUpdatedDateTime: timeStampFromJson(json['lastUpdatedDateTime']),
    name: json['name'] as String?,
    recipeArn: json['recipeArn'] as String?,
    recipeType: json['recipeType'] as String?,
    status: json['status'] as String?,
  );
}