Post class final
Represent a post from the API
- Annotations
-
- @immutable
Constructors
-
Post.fromJson(Map<
String, dynamic> json) -
Create a post from a JSON map
factory
- Post.fromXml(XmlElement element)
-
Create a post from an XML element
factory
Properties
- actualPreviewHeight → int
-
Preview image height
final
- actualPreviewWidth → int
-
Preview image width
final
-
Name of the artist
final
- change → int
-
final
- createdAt → int
-
Timestramp of the creation
final
- creatorId → int
-
id of the creator
final
- fileSize → int
-
Size of the original file
final
- fileUrl → String
-
Url of the file
final
- frames → int
-
Number of frames
final
- framesPending → int
-
Number of frames pending
final
- framesPendingString → String
-
Number of frames pending string
final
- framesString → String
-
Number of frames string
final
- hasChildren → bool
-
The post if parent of another post
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Height of the image
final
- id → int
-
Id of the post
final
- isHeld → bool
-
final
- isShownInIndex → bool
-
Is the post show in index
final
- jpegFilesize → int
-
File of the file compressed
final
- jpegHeight → int
-
Height of the file compressed
final
- jpegUrl → String
-
Width of the file compressed
final
- jpegWidth → int
-
Width of the file compressed
final
- md5 → String
-
MD5 Digest of the file
final
- previewHeight → int
-
Preview image height
final
- previewUrl → String
-
Preview image url
final
- previewWidth → int
-
Preview image width
final
- rating → String
-
Rating of the post
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleFileSize → int
-
Size of the sample file
final
- sampleHeight → int
-
Height of the sample file
final
- sampleUrl → String
-
Url of the sample file
final
- sampleWidth → int
-
Width of the sample file
final
- score → int
-
Score of the post
final
- source → String
-
Source of the post
final
- status → String
-
Status of the post
final
-
Tags of the post
final
- width → int
-
Width of the image
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited