EventInfo class

Information about a user event (login, register, etc) that helps identify the source of the event (location, device type, OS, etc).

@author Brian Pontarelli

Annotations
  • @JsonSerializable()

Constructors

EventInfo({Map<String, dynamic> data, String deviceDescription, String deviceName, String deviceType, String ipAddress, Location location, String os, String userAgent})
EventInfo.fromJson(Map<String, dynamic> json)
factory

Properties

data Map<String, dynamic>
getter/setter pair
deviceDescription String
getter/setter pair
deviceName String
getter/setter pair
deviceType String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipAddress String
getter/setter pair
location Location
getter/setter pair
os String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAgent String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited