fromJson static method
Implementation
static ProductMealType fromJson(Map<String, dynamic> json) => ProductMealType(
product:
json['product'] != null ? Product.fromJson(json['product']) : null,
mealType: json['mealType'] != null
? MealType.fromJson(json['mealType'])
: null,
id: json['id'],
created:
json['created'] != null ? DateTime.parse(json['created']) : null,
creator: json['creator'],
updated:
json['updated'] != null ? DateTime.parse(json['updated']) : null,
updater: json['updater'],
);