copyWith method

S copyWith({
  1. String? name,
})

Implementation

S copyWith({
  String? name,
}) =>
    S(
      name: name ?? _name,
    );