toJson method
Converts a TokenRequestStatus instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempExpirationTimestamp = expirationTimestamp;
final tempToken = token;
jsonData['expirationTimestamp'] = tempExpirationTimestamp;
jsonData['token'] = tempToken;
return jsonData;
}