Contentdetail.fromMap constructor

Contentdetail.fromMap(
  1. Map<String, dynamic> data
)

Implementation

factory Contentdetail.fromMap(Map<String, dynamic> data) => Contentdetail(
      packageid: data['packageid'] as String?,
      quality: data['quality'] as String?,
      streamtype: data['streamtype'] as String?,
      drmscheme: data['drmscheme'] as List<dynamic>?,
      availabilityset: data['availabilityset'] as List<dynamic>?,
      subtitlelang: data['subtitlelang'] as dynamic,
      audiolang: data['audiolang'] as List<dynamic>?,
      clearlead: data['clearlead'] as int?,
    );