UserData class

Data associated with a user in the Rainmaker server.

Annotations
  • @immutable

Constructors

UserData({required String id, required String userName, required String? name, required bool isSuperAdmin, required String? pictureUrl})
const
UserData.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
isSuperAdmin bool
final
name String?
final
pictureUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userName String
final

Methods

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

Operators

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