CsApiException.fromException constructor

CsApiException.fromException(
  1. PlatformException e
)

Implementation

factory CsApiException.fromException(PlatformException e) {
  return CsApiException(e.message, int.parse(e.code));
}