User class
사용자 정보 조회 API 응답으로 제공되는 사용자 정보 최상위 클래스.
- Annotations
-
- @freezed
Constructors
-
User.new({@JsonKey(fromJson: intFromJson) required int id, Map<
String, String> ? properties, Account? kakaoAccount, String? groupUserToken, @JsonKey(fromJson: dateTimeFromJson) DateTime? connectedAt, @JsonKey(fromJson: dateTimeFromJson) DateTime? synchedAt}) -
constfactory
-
User.fromJson(Map<
String, dynamic> json) -
factory
Properties
- connectedAt → DateTime?
-
서비스에 연결 완료된 시각, UTC
no setterinherited
-
copyWith
→ $UserCopyWith<
User> -
no setterinherited
- groupUserToken → String?
-
앱이 그룹에 속해 있는 경우 그룹 내 사용자 식별 토큰입니다. 앱의 그룹정보가 변경될 경우 토큰 값도 변경됩니다. 제휴를 통해 권한이 부여된 특정 앱에만 제공됩니다.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
회원번호
no setterinherited
- kakaoAccount → Account?
-
카카오계정 정보
no setterinherited
-
properties
→ Map<
String, String> ? -
추가 정보
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- synchedAt → DateTime?
-
카카오싱크 간편가입을 통해 로그인한 시각, UTC
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