mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
This implements the logic for allowing hotkeys with modifiers. Implemented globalhotkeys and videocontrol hotkeys Also implements saving the forward backwards seconds to the user. Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
34 lines
1.2 KiB
Dart
34 lines
1.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'key_combinations.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$KeyCombinationImpl _$$KeyCombinationImplFromJson(Map<String, dynamic> json) =>
|
|
_$KeyCombinationImpl(
|
|
modifier: _$JsonConverterFromJson<String, LogicalKeyboardKey>(
|
|
json['modifier'], const LogicalKeyboardSerializer().fromJson),
|
|
key: const LogicalKeyboardSerializer().fromJson(json['key'] as String),
|
|
);
|
|
|
|
Map<String, dynamic> _$$KeyCombinationImplToJson(
|
|
_$KeyCombinationImpl instance) =>
|
|
<String, dynamic>{
|
|
'modifier': _$JsonConverterToJson<String, LogicalKeyboardKey>(
|
|
instance.modifier, const LogicalKeyboardSerializer().toJson),
|
|
'key': const LogicalKeyboardSerializer().toJson(instance.key),
|
|
};
|
|
|
|
Value? _$JsonConverterFromJson<Json, Value>(
|
|
Object? json,
|
|
Value? Function(Json json) fromJson,
|
|
) =>
|
|
json == null ? null : fromJson(json as Json);
|
|
|
|
Json? _$JsonConverterToJson<Json, Value>(
|
|
Value? value,
|
|
Json? Function(Value value) toJson,
|
|
) =>
|
|
value == null ? null : toJson(value);
|