PostComments class

PostComments This is PostComments Model class

Constructors

PostComments({String? kind, String? id, String? postId, String? blogId, DateTime? published, DateTime? updated, String? selfLink, String? content, Author? author, String? error})
PostComments.fromJson(String source)
This is will help us to create object from json input
factory
PostComments.fromMap(Map<String, dynamic> map)
This is will help us to create object from Map
factory

Properties

author Author?
This is Author type it have all the author parameters
final
blogId String?
final
content String?
final
error String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
kind String?
final
postId String?
final
published DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
final
updated DateTime?
final

Methods

copyWith({String? kind, String? id, String? postId, String? blogId, DateTime? published, DateTime? updated, String? selfLink, String? content, Author? author}) PostComments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
This is will help us to create Map Data
toString() String
A string representation of this object.
inherited

Operators

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