ReportStoryResultOptionRequired class

The user must choose an option to report the story and repeat the request with the chosen option

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ReportStoryResultOptionRequired({required String title, required List<ReportOption> options})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
options → List<ReportOption>
options List of available options
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
title Title for the option choice
final

Methods

copyWith({String? title, List<ReportOption>? options}) → ReportStoryResultOptionRequired

Available on ReportStoryResultOptionRequired, provided by the ReportStoryResultOptionRequiredExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult ok(ReportStoryResultOk value), required TResult optionRequired(ReportStoryResultOptionRequired value), required TResult textRequired(ReportStoryResultTextRequired value)}) → TResult

Available on ReportStoryResult, provided by the ReportStoryResultExtensions extension

maybeMap<TResult extends Object?>({TResult ok(ReportStoryResultOk value)?, TResult optionRequired(ReportStoryResultOptionRequired value)?, TResult textRequired(ReportStoryResultTextRequired value)?, required TResult orElse()}) → TResult

Available on ReportStoryResult, provided by the ReportStoryResultExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String