Result<T> constructor

Result<T>({
  1. T? value,
})

Creates an instance of a Result type.

Implementation

Result({this.value});