UserInfo class
- Annotations
-
- @JsonSerializable()
Constructors
- UserInfo({String? educationSystem, required String? department, String? className, required String id, required String? name, String? pictureUrl, Uint8List? pictureBytes, String? email})
- UserInfo.empty()
-
factory
-
UserInfo.fromJson(Map<
String, dynamic> json) -
factory
- UserInfo.fromRawJson(String str)
-
factory
Properties
- className → String?
-
final
- department → String?
-
final
- educationSystem → String?
-
final
- email → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- name → String?
-
final
- pictureBytes ↔ Uint8List?
-
getter/setter pair
- pictureUrl → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? id, String? educationSystem, String? department, String? className, String? name, String? pictureUrl, String? email, Uint8List? pictureBytes}) → UserInfo -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
String tag) → void -
toJson(
) → Map< String, dynamic> -
toRawJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited