saveGame method

  1. @override
Future<String?> saveGame({
  1. required String data,
  2. required String name,
})
override

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});
}