CustomMsg<T> constructor

const CustomMsg<T>(
  1. T value
)

Creates a custom message wrapping a value.

Implementation

const CustomMsg(this.value);