Attributes.fromJson constructor

Attributes.fromJson(
  1. Map json_
)

Implementation

Attributes.fromJson(core.Map json_)
  : this(
      attributes: (json_['attributes'] as core.List?)
          ?.map(
            (value) => Attribute.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      name: json_['name'] as core.String?,
    );