EasyAttributeStyles.fromIterable constructor
EasyAttributeStyles.fromIterable(
- Iterable<
EasyAttribute< attrObject?> >
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);
},
),
);