Loading...
Searching...
No Matches
ZoneEvent Class Reference

Class described user zone event. More...

Public Member Functions

 ZoneEvent (this.type, this.locationId, this.sublocationId, this.id, this.name, this.alias)
 Default constructor.
 

Public Attributes

ZoneEventType type
 Handled zone event type.
 
int locationId
 zone's location identifier.
 
int sublocationId
 zone's sublocationId identifier.
 
int id
 zone's identifier.
 
String name
 zone's name.
 
String alias
 zone's alias.
 

Detailed Description

Class described user zone event.

Referenced from ZoneListener.

Definition at line 20 of file zone_event.dart.

Constructor & Destructor Documentation

◆ ZoneEvent()

ZoneEvent.ZoneEvent ( this. type,
this. locationId,
this. sublocationId,
this. id,
this. name,
this. alias )

Default constructor.

Member Data Documentation

◆ alias

String ZoneEvent.alias

zone's alias.

Dart code snippet:

// Get zone alias
String alias = zoneEvent.alias;
print("Zone alias: $alias");

Definition at line 82 of file zone_event.dart.

◆ id

int ZoneEvent.id

zone's identifier.

Dart code snippet:

// Get zone ID
int id = zoneEvent.id;
print("Zone ID: $id");

Definition at line 62 of file zone_event.dart.

◆ locationId

int ZoneEvent.locationId

zone's location identifier.

Dart code snippet:

// Get location ID
int locationId = zoneEvent.locationId;
print("Zone location ID: $locationId");

Definition at line 42 of file zone_event.dart.

◆ name

String ZoneEvent.name

zone's name.

Dart code snippet:

// Get zone name
String name = zoneEvent.name;
print("Zone name: $name");

Definition at line 72 of file zone_event.dart.

◆ sublocationId

int ZoneEvent.sublocationId

zone's sublocationId identifier.

Dart code snippet:

// Get sublocation ID
int sublocationId = zoneEvent.sublocationId;
print("Zone sublocation ID: $sublocationId");

Definition at line 52 of file zone_event.dart.

◆ type

ZoneEventType ZoneEvent.type

Handled zone event type.

Dart code snippet:

// Get event type
ZoneEventType type = zoneEvent.type;
print("Zone event type: $type");

Definition at line 32 of file zone_event.dart.


The documentation for this class was generated from the following file: