HotKeyDebuggingInfo.fromJson constructor

HotKeyDebuggingInfo.fromJson(
  1. Map json_
)

Implementation

HotKeyDebuggingInfo.fromJson(core.Map json_)
    : this(
        detectedHotKeys: json_.containsKey('detectedHotKeys')
            ? (json_['detectedHotKeys']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  HotKeyInfo.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );