toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'uid': uid,
    'name': name,
    'displayName': displayName,
    'photoUrl': photoUrl,
    'profileBackgroundImageUrl': profileBackgroundImageUrl,
    'photoUrls': photoUrls,
    'stateMessage': stateMessage,
    'isDisabled': isDisabled,
    'birthYear': birthYear,
    'birthMonth': birthMonth,
    'birthDay': birthDay,
    'gender': gender,
    'noOfLikes': noOfLikes,
    'createdAt': createdAt,
    'order': order,
    'isVerified': isVerified,
    ff.Field.blocks:
        blocks == null ? null : List<dynamic>.from(blocks!.map((x) => x)),
    ff.Field.idUrl: idUrl,
    ff.Field.idUploadedAt: idUploadedAt,
    ff.Field.occupation: occupation,
    'countryCode': countryCode,
    'siDo': siDo,
    'siGunGu': siGunGu,
    'latitude': latitude,
    'longitude': longitude,
    'geohash4': geohash4,
    'geohash5': geohash5,
    'geohash6': geohash6,
    'geohash7': geohash7,
    'languageCode': languageCode,
    'ping': ping,
  };
}