UseResult constructor Null safety

const UseResult(
  1. [String reason = '']
)

Initialize a newly created instance to have the given reason.

Implementation

const UseResult([this.reason = '']);