Preview class

Information about the preview of a card.

Annotations
  • @JsonSerializable()

Constructors

Preview({DateTime? previewedAt, Uri? sourceUri, String? source})
Constructs a Preview by setting its properties.
const
Preview.fromJson(Map<String, dynamic> json)
Constructs a Preview from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
previewedAt DateTime?
The date this card was previewed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
The name of the source that previewed this card.
final
sourceUri Uri?
A link to the preview of this card.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited