UserAgent class

Payment related user agrent

Annotations
  • @JsonSerializable()

Constructors

UserAgent({required bool? isDesktop, required bool? isRobot, required String? platform, required String? browser, required String? version, required String? device, required bool? isMobile, required bool? isPhone, required bool? isTablet, required bool? isIos, required bool? isAndroid})
UserAgent.fromJson(Map<String, dynamic> json)
factory

Properties

browser String?
final
device String?
final
hashCode int
The hash code for this object.
no setterinherited
isAndroid bool?
final
isDesktop bool?
final
isIos bool?
final
isMobile bool?
final
isPhone bool?
final
isRobot bool?
final
isTablet bool?
final
platform String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
final

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