ContentRating.fromJson constructor

ContentRating.fromJson(
  1. Map json_
)

Implementation

ContentRating.fromJson(core.Map json_)
    : this(
        acbRating: json_.containsKey('acbRating')
            ? json_['acbRating'] as core.String
            : null,
        agcomRating: json_.containsKey('agcomRating')
            ? json_['agcomRating'] as core.String
            : null,
        anatelRating: json_.containsKey('anatelRating')
            ? json_['anatelRating'] as core.String
            : null,
        bbfcRating: json_.containsKey('bbfcRating')
            ? json_['bbfcRating'] as core.String
            : null,
        bfvcRating: json_.containsKey('bfvcRating')
            ? json_['bfvcRating'] as core.String
            : null,
        bmukkRating: json_.containsKey('bmukkRating')
            ? json_['bmukkRating'] as core.String
            : null,
        catvRating: json_.containsKey('catvRating')
            ? json_['catvRating'] as core.String
            : null,
        catvfrRating: json_.containsKey('catvfrRating')
            ? json_['catvfrRating'] as core.String
            : null,
        cbfcRating: json_.containsKey('cbfcRating')
            ? json_['cbfcRating'] as core.String
            : null,
        cccRating: json_.containsKey('cccRating')
            ? json_['cccRating'] as core.String
            : null,
        cceRating: json_.containsKey('cceRating')
            ? json_['cceRating'] as core.String
            : null,
        chfilmRating: json_.containsKey('chfilmRating')
            ? json_['chfilmRating'] as core.String
            : null,
        chvrsRating: json_.containsKey('chvrsRating')
            ? json_['chvrsRating'] as core.String
            : null,
        cicfRating: json_.containsKey('cicfRating')
            ? json_['cicfRating'] as core.String
            : null,
        cnaRating: json_.containsKey('cnaRating')
            ? json_['cnaRating'] as core.String
            : null,
        cncRating: json_.containsKey('cncRating')
            ? json_['cncRating'] as core.String
            : null,
        csaRating: json_.containsKey('csaRating')
            ? json_['csaRating'] as core.String
            : null,
        cscfRating: json_.containsKey('cscfRating')
            ? json_['cscfRating'] as core.String
            : null,
        czfilmRating: json_.containsKey('czfilmRating')
            ? json_['czfilmRating'] as core.String
            : null,
        djctqRating: json_.containsKey('djctqRating')
            ? json_['djctqRating'] as core.String
            : null,
        djctqRatingReasons: json_.containsKey('djctqRatingReasons')
            ? (json_['djctqRatingReasons'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        ecbmctRating: json_.containsKey('ecbmctRating')
            ? json_['ecbmctRating'] as core.String
            : null,
        eefilmRating: json_.containsKey('eefilmRating')
            ? json_['eefilmRating'] as core.String
            : null,
        egfilmRating: json_.containsKey('egfilmRating')
            ? json_['egfilmRating'] as core.String
            : null,
        eirinRating: json_.containsKey('eirinRating')
            ? json_['eirinRating'] as core.String
            : null,
        fcbmRating: json_.containsKey('fcbmRating')
            ? json_['fcbmRating'] as core.String
            : null,
        fcoRating: json_.containsKey('fcoRating')
            ? json_['fcoRating'] as core.String
            : null,
        fmocRating: json_.containsKey('fmocRating')
            ? json_['fmocRating'] as core.String
            : null,
        fpbRating: json_.containsKey('fpbRating')
            ? json_['fpbRating'] as core.String
            : null,
        fpbRatingReasons: json_.containsKey('fpbRatingReasons')
            ? (json_['fpbRatingReasons'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fskRating: json_.containsKey('fskRating')
            ? json_['fskRating'] as core.String
            : null,
        grfilmRating: json_.containsKey('grfilmRating')
            ? json_['grfilmRating'] as core.String
            : null,
        icaaRating: json_.containsKey('icaaRating')
            ? json_['icaaRating'] as core.String
            : null,
        ifcoRating: json_.containsKey('ifcoRating')
            ? json_['ifcoRating'] as core.String
            : null,
        ilfilmRating: json_.containsKey('ilfilmRating')
            ? json_['ilfilmRating'] as core.String
            : null,
        incaaRating: json_.containsKey('incaaRating')
            ? json_['incaaRating'] as core.String
            : null,
        kfcbRating: json_.containsKey('kfcbRating')
            ? json_['kfcbRating'] as core.String
            : null,
        kijkwijzerRating: json_.containsKey('kijkwijzerRating')
            ? json_['kijkwijzerRating'] as core.String
            : null,
        kmrbRating: json_.containsKey('kmrbRating')
            ? json_['kmrbRating'] as core.String
            : null,
        lsfRating: json_.containsKey('lsfRating')
            ? json_['lsfRating'] as core.String
            : null,
        mccaaRating: json_.containsKey('mccaaRating')
            ? json_['mccaaRating'] as core.String
            : null,
        mccypRating: json_.containsKey('mccypRating')
            ? json_['mccypRating'] as core.String
            : null,
        mcstRating: json_.containsKey('mcstRating')
            ? json_['mcstRating'] as core.String
            : null,
        mdaRating: json_.containsKey('mdaRating')
            ? json_['mdaRating'] as core.String
            : null,
        medietilsynetRating: json_.containsKey('medietilsynetRating')
            ? json_['medietilsynetRating'] as core.String
            : null,
        mekuRating: json_.containsKey('mekuRating')
            ? json_['mekuRating'] as core.String
            : null,
        menaMpaaRating: json_.containsKey('menaMpaaRating')
            ? json_['menaMpaaRating'] as core.String
            : null,
        mibacRating: json_.containsKey('mibacRating')
            ? json_['mibacRating'] as core.String
            : null,
        mocRating: json_.containsKey('mocRating')
            ? json_['mocRating'] as core.String
            : null,
        moctwRating: json_.containsKey('moctwRating')
            ? json_['moctwRating'] as core.String
            : null,
        mpaaRating: json_.containsKey('mpaaRating')
            ? json_['mpaaRating'] as core.String
            : null,
        mpaatRating: json_.containsKey('mpaatRating')
            ? json_['mpaatRating'] as core.String
            : null,
        mtrcbRating: json_.containsKey('mtrcbRating')
            ? json_['mtrcbRating'] as core.String
            : null,
        nbcRating: json_.containsKey('nbcRating')
            ? json_['nbcRating'] as core.String
            : null,
        nbcplRating: json_.containsKey('nbcplRating')
            ? json_['nbcplRating'] as core.String
            : null,
        nfrcRating: json_.containsKey('nfrcRating')
            ? json_['nfrcRating'] as core.String
            : null,
        nfvcbRating: json_.containsKey('nfvcbRating')
            ? json_['nfvcbRating'] as core.String
            : null,
        nkclvRating: json_.containsKey('nkclvRating')
            ? json_['nkclvRating'] as core.String
            : null,
        nmcRating: json_.containsKey('nmcRating')
            ? json_['nmcRating'] as core.String
            : null,
        oflcRating: json_.containsKey('oflcRating')
            ? json_['oflcRating'] as core.String
            : null,
        pefilmRating: json_.containsKey('pefilmRating')
            ? json_['pefilmRating'] as core.String
            : null,
        rcnofRating: json_.containsKey('rcnofRating')
            ? json_['rcnofRating'] as core.String
            : null,
        resorteviolenciaRating: json_.containsKey('resorteviolenciaRating')
            ? json_['resorteviolenciaRating'] as core.String
            : null,
        rtcRating: json_.containsKey('rtcRating')
            ? json_['rtcRating'] as core.String
            : null,
        rteRating: json_.containsKey('rteRating')
            ? json_['rteRating'] as core.String
            : null,
        russiaRating: json_.containsKey('russiaRating')
            ? json_['russiaRating'] as core.String
            : null,
        skfilmRating: json_.containsKey('skfilmRating')
            ? json_['skfilmRating'] as core.String
            : null,
        smaisRating: json_.containsKey('smaisRating')
            ? json_['smaisRating'] as core.String
            : null,
        smsaRating: json_.containsKey('smsaRating')
            ? json_['smsaRating'] as core.String
            : null,
        tvpgRating: json_.containsKey('tvpgRating')
            ? json_['tvpgRating'] as core.String
            : null,
        ytRating: json_.containsKey('ytRating')
            ? json_['ytRating'] as core.String
            : null,
      );