configureRuntime method

  1. @override
Future<void> configureRuntime({
  1. int? followDeathDelayMillis,
  2. bool? activeReconnectOnOwnerDeath,
  3. String? crashLogDirectory,
})
override

Replaces the owner-death reconnect policy.

Omitted fields keep their current value. The change is pushed to the connected server and applies to the next owner death. Set crashLogDirectory during application initialization, before reading getNativeStarterCommand or starting the server.

Implementation

@override
Future<void> configureRuntime({
  int? followDeathDelayMillis,
  bool? activeReconnectOnOwnerDeath,
  String? crashLogDirectory,
}) => methodChannel.invokeMethod<void>('configureRuntime', <String, Object?>{
  'followDeathDelayMillis': followDeathDelayMillis,
  'activeReconnectOnOwnerDeath': activeReconnectOnOwnerDeath,
  'crashLogDirectory': crashLogDirectory,
});