RemoteError constructor

const RemoteError(
  1. String message, [
  2. Object? error
])

Implementation

const RemoteError(this.message, [this.error]);