UserData class Null safety

Class defining a User Profile

Constructors

UserData()
Constructs an empty UserData object
UserData.fromMap(Redditor fetchedPost)
Fill a UserData object from a Redditor's map

Properties

bannerImg String
Banner Picture url
read / write
createdUtc DateTime
Date exposing when the account has been created
read / write
displayName String
Account display name
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
iconImg String
Profile Picture url
read / write
karmaAmount int
Karma amount value
read / write
nbFollowers int
Number of followers
read / write
pubDescription String
Profile Description
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subbedThreads List<Subreddit>
read / write
username String
Account fullname
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
Creates a Map<String, dynamic> from a UserData object
toString() String
A string representation of this object. [...]
inherited

Operators

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