toInvocationType method

InvocationType toInvocationType()

Implementation

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