ApplicationRestoreConfiguration class

Specifies the method and snapshot to use when restarting an application using previously saved application state.

Constructors

ApplicationRestoreConfiguration({required ApplicationRestoreType applicationRestoreType, String? snapshotName})
ApplicationRestoreConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

applicationRestoreType ApplicationRestoreType
Specifies how the application should be restored.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshotName String?
The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.
final

Methods

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

Operators

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