setSplash method

Future<void> setSplash(
  1. File splash, {
  2. String? reason,
})

Implementation

Future<void> setSplash(File splash, {String? reason}) async {
  final splashAsset = ImageAsset.makeAsset(splash);
  await _serverPart.updateServer(
      serverId, {'splash': splashAsset.makeUrl()}, reason);
}