SessionInfo.fromJson constructor

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

The default constructor.

Implementation

SessionInfo.fromJson(Map<String, dynamic> json)
    : expiresIn = json['expires_in'] as int,
      sessionSecret = json['sessionSecret'] as String,
      sessionToken = json['sessionToken'] as String;