ApiException constructor

const ApiException(
  1. String message, [
  2. dynamic details
])

Creates an API exception with a message and optional details

Implementation

const ApiException(this.message, [this.details]);