core.Map<core.String, core.dynamic> toJson() => { if (phoneSessionInfo != null) 'phoneSessionInfo': phoneSessionInfo!, if (totpSessionInfo != null) 'totpSessionInfo': totpSessionInfo!, };