Result<T> constructor

Result<T>({
  1. required bool isSuccess,
  2. T? value,
  3. String? errorKey,
  4. String? errorMessage,
})

Implementation

Result({
  required this.isSuccess,
  this.value,
  this.errorKey,
  this.errorMessage,
});