Attribute.fromJson constructor

Attribute.fromJson(
  1. Map json_
)

Implementation

Attribute.fromJson(core.Map json_)
    : this(
        attributeDefinitionId: json_.containsKey('attributeDefinitionId')
            ? json_['attributeDefinitionId'] as core.String
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );