toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'clientId': clientId,
'network': network.name,
'redirectUrl': redirectUrl?.toString(),
'whiteLabel': whiteLabel?.toJson(),
'loginConfig': loginConfig,
};
}