mergeAll method

NotusStyle mergeAll(
  1. NotusStyle other
)

Merges all attributes from other into this style and returns result as a new instance of NotusStyle.

Implementation

NotusStyle mergeAll(NotusStyle other) {
  var result = NotusStyle._(_data);
  for (var value in other.values) {
    result = result.merge(value);
  }
  return result;
}