CommerceTemplate class
Default template for commerce type.
- Inheritance
-
- Object
- DefaultTemplate
- CommerceTemplate
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)
Constructors
-
CommerceTemplate(Content content, Commerce commerce, {List<
Button> ? buttons, String? buttonTitle, String objectType = "commerce"}) -
CommerceTemplate.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
final
-
final
- commerce → Commerce
-
final
- content → Content
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- objectType → String
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited