copyWith method

  1. @override
LogStringModel copyWith({
  1. String? text,
  2. String? icon,
  3. LogBorderType? borderType,
  4. LogColor? color,
})
override

Implementation

@override
LogStringModel copyWith({
  String? text,
  String? icon,
  LogBorderType? borderType,
  LogColor? color,
}) {
  return LogStringModel(
    text ?? this.text,
    borderType: borderType ?? this.borderType,
    color: color ?? this.color,
  );
}