VLessReverseConfig.fromJson constructor

VLessReverseConfig.fromJson(
  1. Object? json
)

Implementation

factory VLessReverseConfig.fromJson(Object? json) {
  final map = asJsonMap(json, 'vless reverse');
  return VLessReverseConfig(
    tag: map['tag'] as String,
    sniffing: map['sniffing'] == null
        ? null
        : SniffingConfig.fromJson(map['sniffing']),
  );
}