Required constructor

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

Initialize a newly created instance to have the given reason.

Implementation

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