$PreviewClient class

Constructors

$PreviewClient($Client _rootClient)
Creates a new DynamiteClient for preview requests.

Properties

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

Methods

$getPreview_Request({String? file, int? x, int? y, PreviewGetPreviewA? a, PreviewGetPreviewForceIcon? forceIcon, String? mode, PreviewGetPreviewMimeFallback? mimeFallback}) → Request
Get a preview by file path.
$getPreview_Serializer() → DynamiteSerializer<Uint8List, void>
Builds a serializer to parse the response of $getPreview_Request.
$getPreviewByFileId_Request({int? fileId, int? x, int? y, PreviewGetPreviewByFileIdA? a, PreviewGetPreviewByFileIdForceIcon? forceIcon, String? mode, PreviewGetPreviewByFileIdMimeFallback? mimeFallback}) → Request
Get a preview by file ID.
$getPreviewByFileId_Serializer() → DynamiteSerializer<Uint8List, void>
Builds a serializer to parse the response of $getPreviewByFileId_Request.
getPreview({String? file, int? x, int? y, PreviewGetPreviewA? a, PreviewGetPreviewForceIcon? forceIcon, String? mode, PreviewGetPreviewMimeFallback? mimeFallback}) Future<DynamiteResponse<Uint8List, void>>
Get a preview by file path.
getPreviewByFileId({int? fileId, int? x, int? y, PreviewGetPreviewByFileIdA? a, PreviewGetPreviewByFileIdForceIcon? forceIcon, String? mode, PreviewGetPreviewByFileIdMimeFallback? mimeFallback}) Future<DynamiteResponse<Uint8List, void>>
Get a preview by file ID.
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