SaveGame class abstract

Constructors

SaveGame()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

deleteGame({required String name}) Future<String?>
Delete game with name.
getSavedGames() Future<List<SavedGame>?>
Get all saved games.
loadGame({required String name}) Future<String?>
Load game with name.
saveGame({required String data, required String name}) Future<String?>
Save game with data and a unique name. The name must be between 1 and 100 non-URL-reserved characters (a-z, A-Z, 0-9, or the symbols "-", ".", "_", or "~").