LabeledDisplayMappingObject.fromJson constructor
LabeledDisplayMappingObject.fromJson(
- dynamic jsonObject
Implementation
LabeledDisplayMappingObject.fromJson(dynamic jsonObject)
: super.fromJson(jsonObject) {
var map = credentialToMap(jsonObject);
if (map.containsKey('label')) {
label = map['label'];
} else {
throw Exception('label property needed');
}
}