SchemeElement constructor

SchemeElement({
  1. required int version,
  2. required String name,
})

Creates a SchemeElement initialized with the given version and name.

Implementation

SchemeElement({required this.version, required this.name})
  : lcName = lowercaseAscii(name) {
  checkState(name.isNotEmpty, message: "SchemeElement.new: name is empty");
}