MineralState<T> constructor Null safety

MineralState<T>(
  1. String name,
  2. T state
)

Implementation

MineralState(this.name, this.state);