Input.fromJson constructor

Input.fromJson(
  1. Map _json
)

Implementation

Input.fromJson(core.Map _json)
    : this(
        key: _json.containsKey('key') ? _json['key'] as core.String : null,
        preprocessingConfig: _json.containsKey('preprocessingConfig')
            ? PreprocessingConfig.fromJson(_json['preprocessingConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        uri: _json.containsKey('uri') ? _json['uri'] as core.String : null,
      );