TransferDataFile class

Inheritance

Constructors

TransferDataFile({required String? filePath, int? size})
TransferDataFile.fromMap(Map map)
factory

Properties

bytes Uint8List?
Used if type is DataTypes.bytes, otherwise null.
finalinherited
file TransferDataFile?
Used if type is DataTypes.file, otherwise null.
finalinherited
filePath String?
getter/setter pair
hash int?
Hash value of the data object that was created and transferred on the platform side. This will be accessible to Flutter with the callback that returns the transferred data, such as HMSTransferEngine.dataOnTransferUpdate.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
getter/setter pair
stream TransferDataStream?
Used if type is DataTypes.stream, otherwise null.
finalinherited
type int?
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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