toServiceUpdateType method

ServiceUpdateType toServiceUpdateType()

Implementation

ServiceUpdateType toServiceUpdateType() {
  switch (this) {
    case 'security-update':
      return ServiceUpdateType.securityUpdate;
  }
  throw Exception('$this is not known in enum ServiceUpdateType');
}