FileData class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

FileData({FileDataCategoryEnum category = FileDataCategoryEnum.queued, required String fileName, required String md5, required int sizeInBytes, required FileStatus status, String uploadId = '', required String url})
Returns a new FileData instance.
FileData.fromJson(Map<String, dynamic> json)
factory

Properties

category FileDataCategoryEnum
final
fileName String
final
hashCode int
The hash code for this object.
no setteroverride
md5 String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes int
final
status FileStatus
final
uploadId String
final
url String
final

Methods

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

Operators

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