toInvocationType method
Implementation
InvocationType toInvocationType() {
switch (this) {
case 'Event':
return InvocationType.event;
case 'RequestResponse':
return InvocationType.requestResponse;
case 'DryRun':
return InvocationType.dryRun;
}
throw Exception('$this is not known in enum InvocationType');
}