ImgbbResponse class
Constructors
- ImgbbResponse.new({required String id, required String title, required int width, required int height, required int size, required int time, required int expiration, required String fileName, required String mime, required String extension, required String thumbnailUrl, required String mediumUrl, required String url, required String displayUrl, required String deleteUrl})
-
ImgbbResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deleteUrl → String
-
final
- displayUrl → String
-
final
- expiration → int
-
final
- extension → String
-
final
- fileName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- id → String
-
final
- mediumUrl → String
-
final
- mime → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
final
- thumbnailUrl → String
-
final
- time → int
-
final
- title → String
-
final
- url → String
-
final
- width → int
-
final
Methods
-
getDeleteUrl(
) → String - Get Delete Image URL (URL to delete image)
-
getDisplayUrl(
) → String - Get Display Image URL (URL with thumbnail)
-
getExpiration(
) → int - Get Image Expiration Time (Unix timestamp)
-
getExtension(
) → String - Get Image File Extension
-
getFileName(
) → String - Get Image File Name
-
getHeight(
) → int - Get Image Dimensions (Height)
-
getId(
) → String - Get Unique Image ID
-
getMediumUrl(
) → String - Get Medium Image URL (URL with medium size)
-
getMime(
) → String - Get Image MIME Type
-
getSize(
) → int - Get Image Size (Bytes)
-
getThumbnailUrl(
) → String - Get Thumbnail Image URL (URL with thumbnail)
-
getTime(
) → int - Get Upload Time (Unix timestamp)
-
getTitle(
) → String - Get Image Title
-
getUrl(
) → String - Get Direct Image URL with Maximum Size and Quality
-
getWidth(
) → int - Get Image Dimensions (Width)
-
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