CircleNotFoundException constructor

CircleNotFoundException({
  1. required PlatformException exception,
})

Creates a CircleNotFoundException from an original PlatformException.

Implementation

CircleNotFoundException({required PlatformException exception})
  : assert(exception.code == platformCode),
    super(
      code: exception.code,
      message: exception.message ?? 'Circle not found.',
      details: exception.details,
      stacktrace: exception.stacktrace,
    );