init method Null safety

void init(
  1. ConnectionSetting config,
  2. {int poolSize = 4}
)

Implementation

void init(ConnectionSetting config, {int poolSize = 4}) {
  settings = config;
  _poolSize = poolSize;
}