LiveStreamHealthStatus.fromJson constructor

LiveStreamHealthStatus.fromJson(
  1. Map json_
)

Implementation

LiveStreamHealthStatus.fromJson(core.Map json_)
    : this(
        configurationIssues: json_.containsKey('configurationIssues')
            ? (json_['configurationIssues'] as core.List)
                .map((value) => LiveStreamConfigurationIssue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        lastUpdateTimeSeconds: json_.containsKey('lastUpdateTimeSeconds')
            ? json_['lastUpdateTimeSeconds'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );