TestMetadata constructor

const TestMetadata({
  1. required bool skip,
  2. required String? skipReason,
})

Test metadata regarding whether the test was skipped and the reason.

Implementation

const factory TestMetadata({
  /// Whether the test was skipped.
  required bool skip,

  /// The reason the tests was skipped, or `null` if it wasn't skipped.
  required String? skipReason,
}) = _TestMetadata;