SocketData.fromJson constructor

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

Implementation

factory SocketData.fromJson(Map<String, dynamic> json) => SocketData(
      id: json["id"],
      server: json["server"],
      socketPath: json["socketPath"],
      namespace: json["namespace"],
      website: json["website"],
      tokenType: json["tokenType"],
      iat: json["iat"],
      exp: json["exp"],
    );