LiveStreamStatus.fromJson constructor

LiveStreamStatus.fromJson(
  1. Map json_
)

Implementation

LiveStreamStatus.fromJson(core.Map json_)
    : this(
        healthStatus: json_.containsKey('healthStatus')
            ? LiveStreamHealthStatus.fromJson(
                json_['healthStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        streamStatus: json_.containsKey('streamStatus')
            ? json_['streamStatus'] as core.String
            : null,
      );