mergeOrDefault method

TextStyle? mergeOrDefault([
  1. TextStyle? mergeTarget
])

Implementation

TextStyle? mergeOrDefault([TextStyle? mergeTarget]) {
  if (this == null || mergeTarget == null) {
    return this ?? mergeTarget;
  } else {
    return this!.merge(mergeTarget);
  }
}