fromJson static method

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

Implementation

static ProductMadeWithout fromJson(Map<String, dynamic> json) =>
    ProductMadeWithout(
      product:
          json['product'] != null ? Product.fromJson(json['product']) : null,
      madeWithout: json['madeWithout'] != null
          ? MadeWithout.fromJson(json['madeWithout'])
          : 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'],
    );