logout

fun logout(callback: (SdkError?) -> Unit? = null)

Logs out the current customer

Example:

fun signOut() {
FlyBuyCore.getInstance().customer.logout { sdkError ->
if (null != sdkError) {
// Handle error
} else {
// Handle success
}
}
}