$DiscoverySpecJsonOptions.fromJson constructor

$DiscoverySpecJsonOptions.fromJson(
  1. Map json_
)

Implementation

$DiscoverySpecJsonOptions.fromJson(core.Map json_)
    : this(
        disableTypeInference: json_.containsKey('disableTypeInference')
            ? json_['disableTypeInference'] as core.bool
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
      );