Content class
Represents content section of feed, location, and commerce type template.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)
Constructors
- Content.new(String title, Uri imageUrl, Link link, {String? description, int? imageWidth, int? imageHeight})
-
Content.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageHeight → int?
-
final
- imageUrl → Uri
-
final
- imageWidth → int?
-
final
- link → Link
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited