ChannelConnection.fromJson constructor

ChannelConnection.fromJson(
  1. Map json_
)

Implementation

ChannelConnection.fromJson(core.Map json_)
    : this(
        activationToken: json_['activationToken'] as core.String?,
        channel: json_['channel'] as core.String?,
        createTime: json_['createTime'] as core.String?,
        labels:
            (json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
          (key, value) => core.MapEntry(
            key,
            value as core.String,
          ),
        ),
        name: json_['name'] as core.String?,
        uid: json_['uid'] as core.String?,
        updateTime: json_['updateTime'] as core.String?,
      );