Map<String, dynamic> toMap() => { 'clientId': clientId, 'redirectUri': redirectUri, 'scopes': scopes, if (fallbackScheme != null) 'fallbackScheme': fallbackScheme, };