toSuccessResponseState method

SuccessResponseState toSuccessResponseState()

Implementation

SuccessResponseState toSuccessResponseState() {
  return SuccessResponseState.values.firstWhere((SuccessResponseState e) {
    return e.name.toString().toLowerCase() == this.toLowerCase();
  }, orElse: () {
    return SuccessResponseState.none;
  });
}