UserInfo class

Represents user information returned by the RapidGator API.

Constructors

UserInfo.new({required String email, required bool isPremium, DateTime? premiumEndTime, required int state, required String stateLabel, required TrafficInfo traffic, required StorageInfo storage, required UploadInfo upload, required RemoteUploadInfo remoteUpload})
UserInfo.fromJson(Map<String, dynamic> json)
Converts a JSON map into a UserInfo object.
factory

Properties

email String
final
hashCode int
The hash code for this object.
no setterinherited
isPremium bool
final
premiumEndTime DateTime?
final
remoteUpload RemoteUploadInfo
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state int
final
stateLabel String
final
storage StorageInfo
final
traffic TrafficInfo
final
upload UploadInfo
final

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