src/dash-platform-user.js
/**
     * Casts the DashPlatformUser instance to JSON string format ////
     * @method DashUser#toObj
     * @param {Object} instance An instance of DashPlatformUser 
     * @return {Object}
     */
Casts the DashPlatformUser instance to JSON string format
@method DashUser#toObj
@param {Object} instance An instance of DashPlatformUser
@return {Object}
Casts the DashPlatformUser instance to JSON string format @method DashUser#toObj @param { Object } instance An instance of DashPlatformUser @return { Object }
function toObject(instance) {
    let obj = {
        name: instance._name,
        id: instance._id,
        identityId: instance._identityId,
        identity: instance._identity,
        publicKey: instance._publicKey,
        publicKeyBinary: instance._publicKeyBinary
    };
    if (typeof instance._privateKey != typeof undefined) obj.privateKey = instance._privateKey;
    return obj
}
function toObject ( instance ) { let obj = { name : instance . _name , id : instance . _id , identityId : instance . _identityId , identity : instance . _identity , publicKey : instance . _publicKey , publicKeyBinary : instance . _publicKeyBinary } ; if ( typeof instance . _privateKey != typeof undefined ) obj . privateKey = instance . _privateKey ; return obj }
Casts the DashPlatformUser instance to JSON string format
 @method DashUser#toObj
 @param {Object} instance An instance of DashPlatformUser
 @return {Object}
Casts the DashPlatformUser instance to JSON string format @method DashUser#toObj @param { Object } instance An instance of DashPlatformUser @return { Object }