WooProductImage.fromJson constructor
Implementation
WooProductImage.fromJson(Map<String, dynamic> json)
: id = json['id'],
src = json['src'],
name = json['name'],
alt = json['alt'],
dateCreated = DateTime.parse(json['date_created']),
dateModifiedGMT = DateTime.parse(json['date_modified_gmt']),
dateModified = DateTime.parse(json['date_modified']),
dateCreatedGMT = DateTime.parse(json['date_created_gmt']);