copyWith method
Implementation
ButtonOptions copyWith({String? text, bool? isEnabled}) => ButtonOptions(
text: text ?? this.text,
isEnabled: isEnabled ?? this.isEnabled,
);
ButtonOptions copyWith({String? text, bool? isEnabled}) => ButtonOptions(
text: text ?? this.text,
isEnabled: isEnabled ?? this.isEnabled,
);