merge method
Merge with another AuthCallbacks object
Implementation
AuthCallbacks merge(AuthCallbacks other) {
return AuthCallbacks(
onLogin: other.onLogin ?? onLogin,
onLogout: other.onLogout ?? onLogout,
onRegister: other.onRegister ?? onRegister,
onUserUpdate: other.onUserUpdate ?? onUserUpdate,
onTokenChange: other.onTokenChange ?? onTokenChange,
onAuthStateChange: other.onAuthStateChange ?? onAuthStateChange,
);
}