ChannelProfileDetails.fromJson constructor

ChannelProfileDetails.fromJson(
  1. Map json_
)

Implementation

ChannelProfileDetails.fromJson(core.Map json_)
    : this(
        channelId: json_.containsKey('channelId')
            ? json_['channelId'] as core.String
            : null,
        channelUrl: json_.containsKey('channelUrl')
            ? json_['channelUrl'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        profileImageUrl: json_.containsKey('profileImageUrl')
            ? json_['profileImageUrl'] as core.String
            : null,
      );