copyWith method

  1. @override
LogMapModel copyWith({
  1. String? title,
  2. Map<String, dynamic>? map,
  3. LogBorderType? borderType,
  4. LogColor? color,
})
override

Implementation

@override
LogMapModel copyWith({
  String? title,
  Map<String, dynamic>? map,
  LogBorderType? borderType,
  LogColor? color,
}) {
  return LogMapModel(
    map ?? this.map,
    title: title ?? this.title,
    borderType: borderType ?? this.borderType,
    color: color ?? this.color,
  );
}