Skip to content

WebBrowserRegistration

A DeviceRegistration for a WebBrowser specifying details of the browser.

Takes inspiration from the device information available via the device_info_plus via the WebBrowserInfo class.

Inheritance
Annotations

Constructors

WebBrowserRegistration.fromJson

WebBrowserRegistration.fromJson(
  1. Map<String, dynamic> json
)

WebBrowserRegistration

WebBrowserRegistration({
  1. String? deviceId,
  2. String? deviceDisplayName,
  3. DateTime? registrationCreatedOn,
  4. String? browserName,
  5. int? deviceMemory,
  6. String? language,
  7. String? vendor,
  8. int? maxTouchPoints,
  9. int? hardwareConcurrency,
})

Properties

browserName

String? browserName
getter/setter pair

deviceMemory

int? deviceMemory
getter/setter pair

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

hardwareConcurrency

int? hardwareConcurrency
getter/setter pair

language

String? language
getter/setter pair

maxTouchPoints

int? maxTouchPoints
getter/setter pair

vendor

String? vendor
getter/setter pair

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.