copyWith method

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

Implementation

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