resolveDbPort method

FutureOr<int> resolveDbPort(
  1. int port
)

Resolves the database port.

Implementation

FutureOr<int> resolveDbPort(int port) =>
    resolveFreePort(port).resolveMapped((p) {
      dbConfig['port'] = p;
      return p;
    });