Immutable constructor Null safety

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

Initialize a newly created instance to have the given reason.

Implementation

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