toSessionFilterKey method
Implementation
SessionFilterKey toSessionFilterKey() {
switch (this) {
case 'InvokedAfter':
return SessionFilterKey.invokedAfter;
case 'InvokedBefore':
return SessionFilterKey.invokedBefore;
case 'Target':
return SessionFilterKey.target;
case 'Owner':
return SessionFilterKey.owner;
case 'Status':
return SessionFilterKey.status;
case 'SessionId':
return SessionFilterKey.sessionId;
}
throw Exception('$this is not known in enum SessionFilterKey');
}