Parser<T> typedef

Parser<T> = ZRes<T> Function(Object? input)

Parses untyped input (usually dynamic or JSON-like data) into a typed value T. Returns a ZRes<T> to capture parsing success or error.

Implementation

typedef Parser<T> = ZRes<T> Function(Object? input);