EasyAttributeStyles.fromIterable constructor

EasyAttributeStyles.fromIterable(
  1. Iterable<EasyAttribute<Object?>> attr
)

Implementation

EasyAttributeStyles.fromIterable(Iterable<EasyAttribute> attr)
    : attributes = <String, EasyAttribute<Object?>>{}..addEntries(
          attr.map<MapEntry<String, EasyAttribute>>(
            (EasyAttribute<Object?> e) {
              return MapEntry<String, EasyAttribute>(e.key, e);
            },
          ),
        );