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,
      );