ChannelStatus.fromJson constructor

ChannelStatus.fromJson(
  1. Map json_
)

Implementation

ChannelStatus.fromJson(core.Map json_)
    : this(
        isLinked: json_.containsKey('isLinked')
            ? json_['isLinked'] as core.bool
            : null,
        longUploadsStatus: json_.containsKey('longUploadsStatus')
            ? json_['longUploadsStatus'] as core.String
            : null,
        madeForKids: json_.containsKey('madeForKids')
            ? json_['madeForKids'] as core.bool
            : null,
        privacyStatus: json_.containsKey('privacyStatus')
            ? json_['privacyStatus'] as core.String
            : null,
        selfDeclaredMadeForKids: json_.containsKey('selfDeclaredMadeForKids')
            ? json_['selfDeclaredMadeForKids'] as core.bool
            : null,
      );