init
This commit is contained in:
35
lib/models/configs.g.dart
Normal file
35
lib/models/configs.g.dart
Normal file
@ -0,0 +1,35 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'configs.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Configs _$ConfigsFromJson(Map<String, dynamic> json) => Configs(
|
||||
json['port'] as int,
|
||||
json['socks-port'] as int,
|
||||
json['tproxy-port'] as int,
|
||||
json['redir-port'] as int,
|
||||
json['mixed-port'] as int,
|
||||
json['authentication'] as List<dynamic>,
|
||||
json['allow-lan'] as bool,
|
||||
json['bind-address'] as String,
|
||||
json['mode'] as String,
|
||||
json['log-level'] as String,
|
||||
json['ipv6'] as bool,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$ConfigsToJson(Configs instance) => <String, dynamic>{
|
||||
'port': instance.port,
|
||||
'socks-port': instance.socksPort,
|
||||
'redir-port': instance.redirPort,
|
||||
'tproxy-port': instance.tproxyPort,
|
||||
'mixed-port': instance.mixedPort,
|
||||
'authentication': instance.authentication,
|
||||
'allow-lan': instance.allowLan,
|
||||
'bind-address': instance.bindAddress,
|
||||
'mode': instance.mode,
|
||||
'log-level': instance.logLevel,
|
||||
'ipv6': instance.ipv6,
|
||||
};
|
Reference in New Issue
Block a user