validateNetwork

suspend fun validateNetwork(network: Network): Result<Network>

Validate a Network definition.

This method takes a Network created by Flutter and validates it on the KMP side. Returns the same Network if valid, allowing Flutter to verify bidirectional binding.

Return

Result containing the validated Network or an error if invalid

Parameters

network

The Network definition to validate