toActivityStreamMode method
Implementation
ActivityStreamMode toActivityStreamMode() {
switch (this) {
case 'sync':
return ActivityStreamMode.sync;
case 'async':
return ActivityStreamMode.async;
}
throw Exception('$this is not known in enum ActivityStreamMode');
}