copyWith method

  1. @override
LayoutWidget copyWith({
  1. String? id,
  2. int? size,
  3. bool? isFlex,
  4. GlobalKey<State<StatefulWidget>>? key,
  5. String? title,
  6. String? name,
})
override

Implementation

@override
LayoutWidget copyWith(
        {String? id,
        int? size,
        bool? isFlex,
        GlobalKey? key,
        String? title,
        String? name}) =>
    LayoutWidget(
        id: id ?? this.id,
        size: size ?? this.size,
        isFlex: isFlex ?? this.isFlex,
        key: key ?? this.key,
        title: title ?? this.title,
        name: name ?? this.name);