PageBlockRelatedArticle class

Inheritance

Constructors

PageBlockRelatedArticle({required String url, required String title, required String description, Photo? photo, required String author, required int publishDate})
Contains information about a related article
const
PageBlockRelatedArticle.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

author String
author Article author; may be empty
final
clientId int?
client identifier
no setterinherited
description String
description Article description; may be empty
final
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
photo Photo?
photo Article photo; may be null
final
publishDate int
publishDate Point in time (Unix timestamp) when the article was published; 0 if unknown
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
title Article title; may be empty
final
url String
url Related article URL
final

Methods

copyWith({String? url, String? title, String? description, Photo? photo, String? author, int? publishDate}) PageBlockRelatedArticle
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String