Blog class

博客模型

Constructors

Blog({required int id, required String title, required String content, required int createTime, required Category category, required String author, String? thumbnail, required String dateString, required List<Tags> tags, String? aliasString})
Blog.fromJson(Map<String, dynamic> jsonRes)
factory

Properties

aliasString String?
getter/setter pair
author String
getter/setter pair
category Category
getter/setter pair
content String
getter/setter pair
createTime int
getter/setter pair
dateString String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<Tags>
getter/setter pair
thumbnail String?
getter/setter pair
title String
getter/setter pair

Methods

copy() Blog
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.
override

Operators

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