NmZone class
A routing direction ("направление") — the same concept the Sims table's
напр column shows one icon+letter-code for per SIM (see
lib/data/icon_map.dart's _naprMap). A NmZone here additionally carries
the full list of DEF-code dialplan patterns that decide which zone a
dialled number belongs to, plus the ordered list of group-selection rules
that decide which pool of SIMs actually carries the call — together, the
two pieces the legacy panel never got a UI for.
Constructors
Properties
- billingCode → String?
-
Two-letter billing code shared by the rules of the zone.
final
-
defCodes
→ List<
String> -
DEF codes (number prefixes) that belong to the zone.
final
-
groupRules
→ List<
NmGroupRule> -
Routing rules in fallback order (the first is tried first).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → String
-
Icon key, resolved by
NmZoneIcon.resolveIcon.final - id → String
-
Stable id.
final
- name → String
-
Display name.
final
- region → String?
-
Optional region.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? name, String? region, String? icon, List< String> ? defCodes, String? billingCode, List<NmGroupRule> ? groupRules}) → NmZone - Copy with.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override