JsPromptResponse class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

JsPromptResponse({String? message, String? defaultValue, String? confirmButtonTitle, String? cancelButtonTitle, bool? handledByClient, String? value, JsPromptResponseAction? action})
JsPromptResponse.fromJson(Map<String, dynamic> json)
factory

Properties

action → JsPromptResponseAction?
final
cancelButtonTitle → String
final
confirmButtonTitle → String
final
defaultValue → String
final
handledByClient → bool
final
hashCode → int
The hash code for this object.
no setteroverride
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String?
final

Methods

copyWith({String? message, String? defaultValue, String? confirmButtonTitle, String? cancelButtonTitle, bool? handledByClient, String? value, JsPromptResponseAction? action}) → JsPromptResponse
copyWithField<T>(Field<JsPromptResponse, T> field, T value) → JsPromptResponse
Returns a copy of this entity with field set to value.
copyWithJsPromptResponse({String? message, String? defaultValue, String? confirmButtonTitle, String? cancelButtonTitle, bool? handledByClient, String? value, JsPromptResponseAction? action}) → JsPromptResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithJsPromptResponse([JsPromptResponsePatch? patchInput]) → JsPromptResponse
toJson() → Map<String, dynamic>

Available on JsPromptResponse, provided by the JsPromptResponseSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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