vyrax_core 0.1.2 copy "vyrax_core: ^0.1.2" to clipboard
vyrax_core: ^0.1.2 copied to clipboard

Core contracts and shared models for Vyrax.

example/vyrax_core_example.dart

import 'package:vyrax_core/vyrax_core.dart';

void main() {
  const issue = VyraxIssue(
    id: 'VYRAX_EXAMPLE',
    title: 'Core package wiring',
    description: 'Core package is wired correctly.',
    severity: VyraxSeverity.info,
    category: VyraxIssueCategory.testing,
    file: 'example/vyrax_core_example.dart',
    line: 1,
  );

  // Keep example intentionally minimal while still using the value.
  final message = issue.message;
  if (message.isEmpty) {
    throw StateError('Example message must not be empty.');
  }
}
0
likes
0
points
379
downloads

Publisher

unverified uploader

Weekly Downloads

Core contracts and shared models for Vyrax.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

yaml

More

Packages that depend on vyrax_core