saveGame method
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 "~").
Implementation
@override
Future<String?> saveGame({required String data, required String name}) async {
return await _channel
.invokeMethod("saveGame", {"data": data, "name": name});
}