buildSyncBody static method
Builds the sync body using the registered callback. Returns null if no builder is registered.
Implementation
static Future<JsonMap?> buildSyncBody(
List<Location> locations,
JsonMap extras,
) async {
if (_syncBodyBuilder == null) return null;
return _syncBodyBuilder!(locations, extras);
}