User class

Annotations
  • @freezed

Constructors

User({@JsonKey(name: 'country') String? country, @JsonKey(name: 'login') String? login, @JsonKey(name: 'display_name') String? displayName, @JsonKey(name: 'uid') String? uid})
const
factory
User.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $UserCopyWith<User>
no setterinherited
country String?
no setterinherited
displayName String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
login String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
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