ConnectedWebsites.fromJson constructor

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

Parse from a json

Implementation

factory ConnectedWebsites.fromJson(Map<String, dynamic> json) =>
    ConnectedWebsites(
      websites: List<ConnectedWebsite>.from((json['websites'] ?? [])
          .map((item) => ConnectedWebsite.fromJson(item))
          .toList()),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );