Api constructor

Api(
  1. String name, {
  2. ApiOptions? opts,
})

Implementation

Api(super.name, {ApiOptions? opts}) {
  this.opts = opts ?? ApiOptions();
}