deepClone property

EasyAttributeStyles get deepClone

Returns a new instance containing the same attributes

Implementation

EasyAttributeStyles get deepClone {
  return EasyAttributeStyles.fromIterable(
    <EasyAttribute>[
      ...values.map<EasyAttribute>(
        (EasyAttribute<Object?> e) => e.clone(e.value),
      )
    ],
  );
}