invokeSyncBodyBuilder method
Invokes the sync body builder if set (for testing).
Implementation
Future<JsonMap?> invokeSyncBodyBuilder(
List<Location> locations,
JsonMap extras,
) async {
if (_syncBodyBuilder == null) return null;
return _syncBodyBuilder!(locations, extras);
}