Profile.fromJson constructor

Profile.fromJson(
  1. Map<String, dynamic>? json
)

Implementation

factory Profile.fromJson(Map<String, dynamic>? json) {
  return json != null
      ? Profile._(
          nickname: json['nickname'],
          profileImageUrl: json['profileImageUrl'],
          thumbnailImageUrl: json['thumbnailImageUrl'],
        )
      : Profile._();
}