Channel.fromString constructor

Channel.fromString(
  1. String json
)

Returns a new Channel instance from a JSON string.

Implementation

factory Channel.fromString(String json) => Channel.fromJson(jsonDecode(json));