mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-16 23:04:22 +01:00
26 lines
822 B
Dart
26 lines
822 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'snippet.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_Snippet _$SnippetFromJson(Map<String, dynamic> json) => _Snippet(
|
|
name: json['name'] as String,
|
|
script: json['script'] as String,
|
|
tags: (json['tags'] as List<dynamic>?)?.map((e) => e as String).toList(),
|
|
note: json['note'] as String?,
|
|
autoRunOn: (json['autoRunOn'] as List<dynamic>?)
|
|
?.map((e) => e as String)
|
|
.toList(),
|
|
);
|
|
|
|
Map<String, dynamic> _$SnippetToJson(_Snippet instance) => <String, dynamic>{
|
|
'name': instance.name,
|
|
'script': instance.script,
|
|
'tags': instance.tags,
|
|
'note': instance.note,
|
|
'autoRunOn': instance.autoRunOn,
|
|
};
|