ChannelConnection.fromJson constructor

ChannelConnection.fromJson(
  1. Map json_
)

Implementation

ChannelConnection.fromJson(core.Map json_)
    : this(
        activationToken: json_.containsKey('activationToken')
            ? json_['activationToken'] as core.String
            : null,
        channel: json_.containsKey('channel')
            ? json_['channel'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );