RichAction.openUrl constructor
- @FreezedUnionValue.new('open_url')
Action to open a URL in browser or in-app
Implementation
@FreezedUnionValue('open_url')
const factory RichAction.openUrl({
required String url,
required String label,
@JsonKey(name: 'open_in_app') @Default(false) bool openInApp,
@Default('primary') String style,
}) = OpenUrlAction;