EntityStylesImage.fromJson constructor
EntityStylesImage.fromJson(
- dynamic jsonObject
Implementation
EntityStylesImage.fromJson(dynamic jsonObject) {
var map = credentialToMap(jsonObject);
if (map.containsKey('uri')) {
uri = map['uri'];
} else {
throw Exception('uri property needed in Image object');
}
alt = map['alt'];
}