Agent class

The user-agent (device) information of the user's session.

Implementers

Constructors

Agent({required String family, required String major, required String minor, required String patch})
Creates a instance of Agent
Agent.fromJson(Map<String, dynamic> json)
Creates a instance of Agent from JsonMap.

Properties

family String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
major String
getter/setter pair
minor String
getter/setter pair
patch String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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