copyWith method

Label<T> copyWith({
  1. T? label,
  2. String? customLabel,
})

Implementation

Label<T> copyWith({T? label, String? customLabel}) =>
    Label<T>(label ?? this.label, customLabel ?? this.customLabel);