Content class

Represents content section of feed, location, and commerce type template.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)

Constructors

Content(String title, Uri imageUrl, Link link, {int? imageWidth, int? imageHeight})
Content.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
imageHeight int?
final
imageUrl Uri
final
imageWidth int?
final
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