ConnectedWebsite.fromJson constructor

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

Parse from a json

Implementation

factory ConnectedWebsite.fromJson(Map<String, dynamic> json) =>
    ConnectedWebsite(
      id: int.parse(json['id']),
      domainName: json['domain_name'],
      botUserId: json['bot_user_id'],
      browser: json['browser'],
      platform: json['platform'],
      logInDate: json['log_in_date'],
      lastActiveDate: json['last_active_date'],
      ip: json['ip'],
      location: json['location'],
    );