UserAgent class

Inheritance

Constructors

UserAgent({required String name, String? version, String? system, String? url, String? comment})

Properties

comment String?
Additional information about your application
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of your application (eg: smooth-app)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system String?
The system running the application (eg: Android+10)
final
url String?
The url of your application (eg: https://example.com)
final
version String?
The version of the application (1.0.0)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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