Result<T>.success constructor
Result<T>.success (
- T result, [
- String? message
Implementation
factory Result.success(T result, [String? message]) {
// assert(result != null);
return _Result(result, ResultType.success, message);
}