User class

Annotations
  • @freezed

Constructors

User({String? id, String? name, String? username, Perfs? perfs, int? createdAt, bool? disabled, bool? tosViolation, Profile? profile, int? seenAt, bool? patron, bool? verified, PlayTime? playTime, Title? title, String? url, String? playing, Count? count, bool? streaming, bool? followable, bool? following, bool? blocking, bool? followsYou, LiveStream? stream, LiveStreamer? streamer})
const
factory
User.fromJson(Map<String, dynamic> json)
factory

Properties

blocking bool?
no setterinherited
copyWith → $UserCopyWith<User>
no setterinherited
count Count?
no setterinherited
createdAt int?
no setterinherited
disabled bool?
no setterinherited
followable bool?
no setterinherited
following bool?
no setterinherited
followsYou bool?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
name String?
no setterinherited
patron bool?
no setterinherited
perfs Perfs?
no setterinherited
playing String?
no setterinherited
playTime PlayTime?
no setterinherited
profile Profile?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seenAt int?
no setterinherited
stream LiveStream?
no setterinherited
streamer LiveStreamer?
no setterinherited
streaming bool?
no setterinherited
title Title?
no setterinherited
tosViolation bool?
no setterinherited
url String?
no setterinherited
username String?
no setterinherited
verified bool?
no setterinherited

Methods

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

Operators

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