Result constructor

const Result({
  1. Success? success,
  2. Fail? fail,
})

Implementation

const Result({this.success, this.fail});