DebugOptions.fromJson constructor

DebugOptions.fromJson(
  1. Map json_
)

Implementation

DebugOptions.fromJson(core.Map json_)
    : this(
        dataSampling: json_.containsKey('dataSampling')
            ? DataSamplingConfig.fromJson(
                json_['dataSampling'] as core.Map<core.String, core.dynamic>)
            : null,
        enableHotKeyLogging: json_.containsKey('enableHotKeyLogging')
            ? json_['enableHotKeyLogging'] as core.bool
            : null,
      );