WooProductImage class

Annotations
  • @JsonSerializable.new()

Constructors

WooProductImage({int? id, DateTime? dateCreated, DateTime? dateCreatedGMT, DateTime? dateModified, DateTime? dateModifiedGMT, String? src, String? thumbnail, String? srcset, String? sizes, String? name, String? alt})
WooProductImage.fromJson(Map<String, dynamic> json)
factory

Properties

alt → String?
Image alternative text.
final
dateCreated → DateTime?
The date the image was created, in the site's timezone.
final
dateCreatedGMT → DateTime?
The date the image was created, as GMT.
final
dateModified → DateTime?
The date the image was last modified, in the site's timezone.
final
dateModifiedGMT → DateTime?
The date the image was last modified, as GMT.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
Image ID.
final
name → String?
Image name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → String?
Image sizes.
final
src → String?
Image URL.
final
srcset → String?
Image srcset.
final
thumbnail → String?
Image thumbnail URL.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fake() → WooProductImage