SaveAsUIShowingRequest class

Class that represents the request used by the PlatformWebViewCreationParams.onSaveAsUIShowing event.

Constructors

SaveAsUIShowingRequest({bool? allowReplace, bool? cancel, String? contentMimeType, SaveAsKind? kind, String? saveAsFilePath, bool? suppressDefaultDialog})

Properties

allowReplace bool?
Whether the save operation may replace an existing file.
getter/setter pair
cancel bool?
Whether to cancel the Save As action.
getter/setter pair
contentMimeType String?
The MIME type of content to be saved.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind SaveAsKind?
The save-as kind for the operation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saveAsFilePath String?
The suggested save file path.
getter/setter pair
suppressDefaultDialog bool?
Whether to suppress the default dialog.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to a map.
toMap({EnumMethod? enumMethod}) Map<String, dynamic>
Converts instance to a map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? map, {EnumMethod? enumMethod}) SaveAsUIShowingRequest?
Gets a possible SaveAsUIShowingRequest instance from a Map value.