WebLogin.fromJson constructor

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

Creates a WebLogin instance from a JSON map.

This factory constructor is used to create an instance of WebLogin from a map structure representing JSON data. This is useful for deserializing JSON data retrieved from a database or an API.

Parameters: json - A map representing JSON data.

Returns: An instance of WebLogin.

Implementation

factory WebLogin.fromJson(Map<String, dynamic> json) => WebLogin(
      id: json["id"],
      lastLoginTime: json["lastLoginTime"],
      osName: json["osName"],
      qrUniqeToken: json["qrUniqeToken"],
      webBrowserName: json["webBrowserName"],
    );