validateFee

suspend fun validateFee(fee: Fee): Result<Fee>

Validate a Fee definition.

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

Return

Result containing the validated Fee or an error if invalid

Parameters

fee

The Fee definition to validate