VideoProcessingDetails.fromJson constructor

VideoProcessingDetails.fromJson(
  1. Map json_
)

Implementation

VideoProcessingDetails.fromJson(core.Map json_)
    : this(
        editorSuggestionsAvailability:
            json_.containsKey('editorSuggestionsAvailability')
                ? json_['editorSuggestionsAvailability'] as core.String
                : null,
        fileDetailsAvailability: json_.containsKey('fileDetailsAvailability')
            ? json_['fileDetailsAvailability'] as core.String
            : null,
        processingFailureReason: json_.containsKey('processingFailureReason')
            ? json_['processingFailureReason'] as core.String
            : null,
        processingIssuesAvailability:
            json_.containsKey('processingIssuesAvailability')
                ? json_['processingIssuesAvailability'] as core.String
                : null,
        processingProgress: json_.containsKey('processingProgress')
            ? VideoProcessingDetailsProcessingProgress.fromJson(
                json_['processingProgress']
                    as core.Map<core.String, core.dynamic>)
            : null,
        processingStatus: json_.containsKey('processingStatus')
            ? json_['processingStatus'] as core.String
            : null,
        tagSuggestionsAvailability:
            json_.containsKey('tagSuggestionsAvailability')
                ? json_['tagSuggestionsAvailability'] as core.String
                : null,
        thumbnailsAvailability: json_.containsKey('thumbnailsAvailability')
            ? json_['thumbnailsAvailability'] as core.String
            : null,
      );