mergeAll method

ParchmentStyle mergeAll(
  1. ParchmentStyle other
)

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

Implementation

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