getSlotLeader method

Future<String> getSlotLeader({
  1. GetSlotLeaderConfig? config,
})

Returns the current slot leader.

Implementation

Future<String> getSlotLeader({
  final GetSlotLeaderConfig? config,
}) async =>
    (await getSlotLeaderRaw(config: config)).result!;