TelegraphFileData class

Constructors

TelegraphFileData({required Uint8List file_bytes, required String file_name, String file_mime = "application/document"})

Properties

file_bytes Uint8List
final
file_mime String
final
file_name String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

bytes(Uint8List fileBytes) TelegraphFileData
file(File fileData) TelegraphFileData
network(String url, {Client? httpClient}) Future<TelegraphFileData>