DolbyVision.fromJson constructor

DolbyVision.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DolbyVision.fromJson(Map<String, dynamic> json) {
  return DolbyVision(
    l6Metadata: json['l6Metadata'] != null
        ? DolbyVisionLevel6Metadata.fromJson(
            json['l6Metadata'] as Map<String, dynamic>)
        : null,
    l6Mode: (json['l6Mode'] as String?)?.toDolbyVisionLevel6Mode(),
    profile: (json['profile'] as String?)?.toDolbyVisionProfile(),
  );
}