toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (active != null) 'active': active!,
      if (clientId != null) 'client_id': clientId!,
      if (exp != null) 'exp': exp!,
      if (iat != null) 'iat': iat!,
      if (iss != null) 'iss': iss!,
      if (scope != null) 'scope': scope!,
      if (sub != null) 'sub': sub!,
      if (username != null) 'username': username!,
    };