toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return _splayify({
    'iss': 'angel_auth',
    'aud': ipAddress,
    'exp': lifeSpan,
    'iat': issuedAt.toIso8601String(),
    'sub': userId,
    'pld': _splayify(payload)
  });
}