SuiteConfiguration.fromMetadata constructor

SuiteConfiguration.fromMetadata(
  1. Metadata metadata
)

Creates a new SuiteConfiguration that takes its configuration from metadata.

Implementation

factory SuiteConfiguration.fromMetadata(Metadata metadata) =>
    SuiteConfiguration._(
      tags: metadata.forTag.map((key, child) =>
          MapEntry(key, SuiteConfiguration.fromMetadata(child))),
      onPlatform: metadata.onPlatform.map((key, child) =>
          MapEntry(key, SuiteConfiguration.fromMetadata(child))),
      metadata: metadata.change(forTag: {}, onPlatform: {}),
      allowDuplicateTestNames: null,
      allowTestRandomization: null,
      jsTrace: null,
      runSkipped: null,
      dart2jsArgs: null,
      testSelections: const {},
      precompiledPath: null,
      runtimes: null,
      compilerSelections: null,
      ignoreTimeouts: null,
    );