BwdifConfig.fromJson constructor

BwdifConfig.fromJson(
  1. Map json_
)

Implementation

BwdifConfig.fromJson(core.Map json_)
    : this(
        deinterlaceAllFrames: json_.containsKey('deinterlaceAllFrames')
            ? json_['deinterlaceAllFrames'] as core.bool
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        parity: json_.containsKey('parity')
            ? json_['parity'] as core.String
            : null,
      );