Doctor class Null safety Models

채팅 구현하다가 만든 모델입니다. 현재 채팅기능이 없기도하고 이 모델은 쓰지 않습니다.

Inheritance
Annotations

Constructors

Doctor({required String id, required String name, required String username, required String type, String? imagePath, String? lastChatMessage})
Doctor.fromJson(Map<String, dynamic> json)
factory

Properties

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

Methods

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

Operators

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