Channel.fromJson constructor

Channel.fromJson(
  1. Map json_
)

Implementation

Channel.fromJson(core.Map json_)
    : this(
        channelType: json_.containsKey('channelType')
            ? json_['channelType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );