InputFileGenerated class final

A file generated by the application

Inheritance

Constructors

InputFileGenerated({required String originalPath, required String conversion, required int expectedSize})
A file generated by the application
const
InputFileGenerated.fromJson(Map<String, dynamic> json)
Parses a InputFileGenerated from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
conversion → String
String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage
final
expectedSize → int
Expected size of the generated file, in bytes; 0 if unknown
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
originalPath → String
Local path to a file from which the file is generated; may be empty if there is no such file
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? originalPath, String? conversion, int? expectedSize}) → InputFileGenerated
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.