copyWith method

SetLogTagVerbosityLevel copyWith({
  1. String? tag,
  2. int? newVerbosityLevel,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

SetLogTagVerbosityLevel copyWith({
  String? tag,
  int? newVerbosityLevel,
}) =>
    SetLogTagVerbosityLevel(
      tag: tag ?? this.tag,
      newVerbosityLevel: newVerbosityLevel ?? this.newVerbosityLevel,
    );