BlogPost class

BlogPost This is BlogPost Model class

Constructors

BlogPost({required int totalItems, required String selfLink})
BlogPost.fromJson(String source)
This is will help us to create object from json input
factory
BlogPost.fromMap(Map<String, dynamic> map)
This is will help us to create object from Map
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
final
totalItems int
final

Methods

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

Operators

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