CustomAttribute.fromJson constructor

CustomAttribute.fromJson(
  1. Map json_
)

Implementation

CustomAttribute.fromJson(core.Map json_)
    : this(
        groupValues: json_.containsKey('groupValues')
            ? (json_['groupValues'] as core.List)
                .map((value) => CustomAttribute.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );