AttributeDefinition.fromJson constructor
AttributeDefinition.fromJson(
- Map json_
Implementation
AttributeDefinition.fromJson(core.Map json_)
: this(
allowedValues: (json_['allowedValues'] as core.List?)
?.map((value) => value as core.String)
.toList(),
category: json_['category'] as core.String?,
consentDefaultValues: (json_['consentDefaultValues'] as core.List?)
?.map((value) => value as core.String)
.toList(),
dataMappingDefaultValue:
json_['dataMappingDefaultValue'] as core.String?,
description: json_['description'] as core.String?,
name: json_['name'] as core.String?,
);