ProtocolExample constructor

const ProtocolExample(
  1. String title,
  2. Map<String, Object?> request, {
  3. Map<String, Object?>? ok,
  4. String? errorCode,
})

An example titled title; exactly one of ok and errorCode is set.

Implementation

const ProtocolExample(this.title, this.request, {this.ok, this.errorCode});