$SiteTranscodeSetting.fromJson constructor Null safety

$SiteTranscodeSetting.fromJson(
  1. Map _json
)

Implementation

$SiteTranscodeSetting.fromJson(core.Map _json)
    : this(
        enabledVideoFormats: _json.containsKey('enabledVideoFormats')
            ? (_json['enabledVideoFormats'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
      );