Illust class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
Illust(int id, String title, String type, ImageUrls imageUrls, int restrict, User user, List<
Tag> tags, List<String> tools, String createDate, int pageCount, int width, int height, int sanityLevel, int xRestrict, MetaSinglePage metaSinglePage, List<MetaPage> metaPages, int totalView, int totalBookmarks, bool isBookmarked, bool visible, bool isMuted, int? totalComments) -
Illust.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
getter/setter pair
- createDate ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int
-
getter/setter pair
- id ↔ int
-
getter/setter pair
- imageUrls ↔ ImageUrls
-
getter/setter pair
- isBookmarked ↔ bool
-
getter/setter pair
- isMuted ↔ bool
-
getter/setter pair
- isR18 → bool
-
no setter
- isUgoira → bool
-
no setter
-
metaPages
↔ List<
MetaPage> -
当pageCount大于1时 图片的ImageUrls存在这里
getter/setter pair
- metaSinglePage ↔ MetaSinglePage
-
当pageCount等于1时 图片的originalImageUrl存在这里
getter/setter pair
- pageCount ↔ int
-
getter/setter pair
- restrict ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sanityLevel ↔ int
-
getter/setter pair
-
getter/setter pair
- title ↔ String
-
getter/setter pair
-
tools
↔ List<
String> -
画师制作这个作品使用的工具 如 "PS" "SAI" "Live2D" 等
getter/setter pair
- totalBookmarks ↔ int
-
getter/setter pair
- totalComments ↔ int?
-
这个字段必须在获取 "detail" 的时候才有值
getter/setter pair
- totalView ↔ int
-
getter/setter pair
- type ↔ String
-
getter/setter pair
- user ↔ User
-
getter/setter pair
- visible ↔ bool
-
getter/setter pair
- width ↔ int
-
getter/setter pair
- xRestrict ↔ int
-
getter/setter pair
Methods
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited