User class Null safety Models

로그인된 사용자의 모델입니다.

Implementers
Annotations

Constructors

User({required String id, required String username, required String name, required String type, String? imagePath, String? email, DateTime? birth, String? phoneNumber, String? notificationToken, String? isAgreeTerms, String? isAgreePrivacy, String? isAgreeMarketing, String? awsAccessKey, String? awsSecretKey, String? awsSessionToken, String? createdAt})
User.fromJson(Map<String, dynamic> json)
factory

Properties

awsAccessKey String?
@JsonKey(ignore: true), read / write
awsSecretKey String?
@JsonKey(ignore: true), read / write
awsSessionToken String?
@JsonKey(ignore: true), read / write
birth DateTime?
@JsonKey(ignore: true), read / write
createdAt String?
@JsonKey(ignore: true), read / write
email String?
@JsonKey(ignore: true), read / write
hashCode int
The hash code for this object. [...]
read-only, override
id String
@JsonKey(name: 'id'), read / write
imagePath String?
@JsonKey(name: 'imagePath'), read / write
isAgreeMarketing String?
@JsonKey(ignore: true), read / write
isAgreePrivacy String?
@JsonKey(ignore: true), read / write
isAgreeTerms String?
@JsonKey(ignore: true), read / write
isSignedIn bool
read-only
name String
@JsonKey(name: 'name'), read / write
notificationToken String?
@JsonKey(ignore: true), read / write
phoneNumber String?
@JsonKey(ignore: true), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
@JsonKey(name: 'type'), read / write
username String
@JsonKey(name: "username"), read / write

Methods

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

Operators

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