OnvifSetIPAddressFilterDeviceManagementCommand constructor
OnvifSetIPAddressFilterDeviceManagementCommand()
Implementation
OnvifSetIPAddressFilterDeviceManagementCommand() {
argParser
..addOption(
'type',
abbr: 't',
defaultsTo: 'allow',
allowed: ['allow', 'deny'],
)
..addOption(
'ipv4-address',
abbr: '4',
help: 'The IPv4 address to allow or deny',
)
..addOption(
'ipv6-address',
abbr: '6',
help: 'The IPv6 address to allow or deny',
)
..addOption(
'ipv4-prefix',
defaultsTo: '3',
)
..addOption(
'ipv6-prefix',
defaultsTo: '3',
);
}