Result<T>.success constructor
const
Result<T>.success ({
- required T data,
Implementation
const factory Result.success({required T data}) = Success<T>;
const factory Result.success({required T data}) = Success<T>;