YadifConfig.fromJson constructor
YadifConfig.fromJson(
- Map json_
Implementation
YadifConfig.fromJson(core.Map json_)
: this(
deinterlaceAllFrames: json_.containsKey('deinterlaceAllFrames')
? json_['deinterlaceAllFrames'] as core.bool
: null,
disableSpatialInterlacing:
json_.containsKey('disableSpatialInterlacing')
? json_['disableSpatialInterlacing'] as core.bool
: null,
mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
parity: json_.containsKey('parity')
? json_['parity'] as core.String
: null,
);