VideoLiveStreamingDetails.fromJson constructor

VideoLiveStreamingDetails.fromJson(
  1. Map json_
)

Implementation

VideoLiveStreamingDetails.fromJson(core.Map json_)
    : this(
        activeLiveChatId: json_.containsKey('activeLiveChatId')
            ? json_['activeLiveChatId'] as core.String
            : null,
        actualEndTime: json_.containsKey('actualEndTime')
            ? core.DateTime.parse(json_['actualEndTime'] as core.String)
            : null,
        actualStartTime: json_.containsKey('actualStartTime')
            ? core.DateTime.parse(json_['actualStartTime'] as core.String)
            : null,
        concurrentViewers: json_.containsKey('concurrentViewers')
            ? json_['concurrentViewers'] as core.String
            : null,
        scheduledEndTime: json_.containsKey('scheduledEndTime')
            ? core.DateTime.parse(json_['scheduledEndTime'] as core.String)
            : null,
        scheduledStartTime: json_.containsKey('scheduledStartTime')
            ? core.DateTime.parse(json_['scheduledStartTime'] as core.String)
            : null,
      );