of<T> static method

CustomMsg<T> of<T>(
  1. T value
)

Factory constructor for type inference.

Implementation

static CustomMsg<T> of<T>(T value) => CustomMsg(value);