SPI constructor

const SPI({
  1. String? name = '',
  2. String? pattern = '',
  3. int? priority = 0,
  4. List<String>? alias = const [],
})

Creates a new SPI instance.

Use this constructor when the default behavior is not desired.

Implementation

const SPI(
    {this.name = '',
    this.pattern = '',
    this.priority = 0,
    this.alias = const []});