copyWith method

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

Implementation

GetOption copyWith({String? name}) => GetOption(name: name ?? this.name);