import "package:fast_immutable_collections/fast_immutable_collections.dart"; import "package:freezed_annotation/freezed_annotation.dart"; import "package:nexus/models/content/content.dart"; part "server_acl.freezed.dart"; part "server_acl.g.dart"; @Freezed(toJson: false, fromJson: false) @JsonSerializable() class const ServerACLContent({ final IList allow = const .empty(), final IList deny = const .empty(), final bool allowIpLiterals = true, }) extends Content with _$ServerACLContent { @override Map toJson() => _$ServerACLContentToJson(this); factory ServerACLContent.fromJson(Map json) => _$ServerACLContentFromJson(json); }