Symbology constructor

Symbology({
  1. int? module,
})

Create a symbology with the default or required properties.

The arguments module must be non-negative and greater than 0.

Implementation

Symbology({this.module})
    : assert(
          (module != null && module > 0) || module == null,
          'Module must'
          ' not be a non-negative value or else it must be equal to null.');