Product class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
Constructors
-
Product({String? id, String? object, bool? active, List<
String> ? attributes, int? created, List<String> ? deactivateOn, String? description, List<String> ? images, bool? livemode, Map<String, dynamic> ? metadata, String? name, PackageDimensions? packageDimensions, bool? shippable, String? type, int? updated, String? url, String? statementDescriptor, String? unitLabel}) -
Product.fromJson(Map<
String, dynamic> json) -
factory
Properties
- active ↔ bool?
-
getter/setter pair
-
attributes
↔ List<
String> ? -
getter/setter pair
-
getter/setter pair
- created ↔ int?
-
getter/setter pair
-
deactivateOn
↔ List<
String> ? -
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
-
images
↔ List<
String> ? -
getter/setter pair
- livemode ↔ bool?
-
getter/setter pair
-
metadata
↔ Map<
String, dynamic> ? -
getter/setter pair
- name ↔ String?
-
getter/setter pair
- object ↔ String?
-
getter/setter pair
- packageDimensions ↔ PackageDimensions?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippable ↔ bool?
-
getter/setter pair
- statementDescriptor ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- unitLabel ↔ String?
-
getter/setter pair
- updated ↔ int?
-
getter/setter pair
- url ↔ String?
-
getter/setter pair
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited