success
Creates a new EncodableResult instance representing a success.
Return
A new EncodableResult instance representing a success.
Parameters
data
The data to be wrapped in the result.
metadata
Optional metadata to be associated with the result.
Creates a new EncodableResult instance representing a success.
A new EncodableResult instance representing a success.
The data to be wrapped in the result.
Optional metadata to be associated with the result.