OidcDisplayObject.fromJson constructor
OidcDisplayObject.fromJson(
- dynamic data
Implementation
OidcDisplayObject.fromJson(dynamic data) {
var jsonData = credentialToMap(data);
name = jsonData['name'];
locale = jsonData['locale'];
description = jsonData['description'];
backgroundColor = jsonData['background_color'];
textColor = jsonData['text_color'];
if (jsonData.containsKey('logo')) {
logo = UrlData.fromJson(jsonData['logo']);
}
}