ProductCollectionElement class
Product representing a good or a service
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
ProductCollectionElement(String id, String name, String? description, String createTime, List<
LinkDescription> links) -
const
-
ProductCollectionElement.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createTime → String
-
The date and time when the plan was created, in
Internet date and time format
final
- description → String?
-
The product description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the product.
final
-
links
→ List<
LinkDescription> -
An array of request-related HATEOAS links.
final
- name → String
-
The product name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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