toResourceSignalStatus method

ResourceSignalStatus toResourceSignalStatus()

Implementation

ResourceSignalStatus toResourceSignalStatus() {
  switch (this) {
    case 'SUCCESS':
      return ResourceSignalStatus.success;
    case 'FAILURE':
      return ResourceSignalStatus.failure;
  }
  throw Exception('$this is not known in enum ResourceSignalStatus');
}