IndexedHotKey.fromJson constructor

IndexedHotKey.fromJson(
  1. Map json_
)

Implementation

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